diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-01 18:52:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-01 18:52:39 +0000 |
commit | b980f057d2ea2119836fbf39040ca8e49386d297 (patch) | |
tree | 75ac862661a30fde82c4239a70ace5ffa9a53e66 /include | |
parent | c2d6585e5e77e5b44a9440f7cb821dada5009692 (diff) | |
download | external_llvm-b980f057d2ea2119836fbf39040ca8e49386d297.zip external_llvm-b980f057d2ea2119836fbf39040ca8e49386d297.tar.gz external_llvm-b980f057d2ea2119836fbf39040ca8e49386d297.tar.bz2 |
remove CallGraphNode::replaceCallSite, it is redundant with other APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/CallGraph.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index ff9f119..1d23c69 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -270,11 +270,6 @@ public: /// removeOneAbstractEdgeTo - Remove one edge associated with a null callsite /// from this node to the specified callee function. void removeOneAbstractEdgeTo(CallGraphNode *Callee); - - /// replaceCallSite - Make the edge in the node for Old CallSite be for - /// New CallSite instead. Note that this method takes linear time, so it - /// should be used sparingly. - void replaceCallSite(CallSite Old, CallSite New, CallGraphNode *NewCallee); }; //===----------------------------------------------------------------------===// |