summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/CallGraph.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-01 18:52:39 +0000
committerChris Lattner <sabre@nondot.org>2009-09-01 18:52:39 +0000
commitda230cb876edf0d4fa8eefc289b8addfb722cd07 (patch)
tree75ac862661a30fde82c4239a70ace5ffa9a53e66 /include/llvm/Analysis/CallGraph.h
parent8a3198b770c9fa7e8319a96bcbcfd85202342eef (diff)
downloadllvm-da230cb876edf0d4fa8eefc289b8addfb722cd07.tar.gz
llvm-da230cb876edf0d4fa8eefc289b8addfb722cd07.tar.bz2
llvm-da230cb876edf0d4fa8eefc289b8addfb722cd07.tar.xz
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/llvm/Analysis/CallGraph.h')
-rw-r--r--include/llvm/Analysis/CallGraph.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h
index ff9f1196ae..1d23c695ad 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);
};
//===----------------------------------------------------------------------===//