commit | da230cb876edf0d4fa8eefc289b8addfb722cd07 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Sep 01 18:52:39 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Sep 01 18:52:39 2009 +0000 |
tree | 75ac862661a30fde82c4239a70ace5ffa9a53e66 | |
parent | 8a3198b770c9fa7e8319a96bcbcfd85202342eef [diff] [blame] |
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
diff --git a/lib/Analysis/IPA/CallGraphSCCPass.cpp b/lib/Analysis/IPA/CallGraphSCCPass.cpp index a7d1183..f7c38e2 100644 --- a/lib/Analysis/IPA/CallGraphSCCPass.cpp +++ b/lib/Analysis/IPA/CallGraphSCCPass.cpp
@@ -228,7 +228,7 @@ else CalleeNode = CG.getCallsExternalNode(); - CGN->replaceCallSite(CS, CS, CalleeNode); + ExistingIt->second = CalleeNode; MadeChange = true; continue; }