aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/CallGraphSCCPass.cpp
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 /lib/Analysis/IPA/CallGraphSCCPass.cpp
parent8a3198b770c9fa7e8319a96bcbcfd85202342eef (diff)
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 'lib/Analysis/IPA/CallGraphSCCPass.cpp')
-rw-r--r--lib/Analysis/IPA/CallGraphSCCPass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp
index a7d1183db9..f7c38e2cce 100644
--- a/lib/Analysis/IPA/CallGraphSCCPass.cpp
+++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp
@@ -228,7 +228,7 @@ void CGPassManager::RefreshCallGraph(std::vector<CallGraphNode*> &CurSCC,
else
CalleeNode = CG.getCallsExternalNode();
- CGN->replaceCallSite(CS, CS, CalleeNode);
+ ExistingIt->second = CalleeNode;
MadeChange = true;
continue;
}