commit | b980f057d2ea2119836fbf39040ca8e49386d297 | [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 | c2d6585e5e77e5b44a9440f7cb821dada5009692 [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; }