diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-22 00:29:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-22 00:29:44 +0000 |
commit | ea2c02bcca611b3eb2fab34ef50e0db96d3ca2c9 (patch) | |
tree | 6025a470474492c0b3f4ce754dac15d73b21419d /llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp | |
parent | 571578143cd800f8eaf0c7fc74fd6fd0ecbdf0aa (diff) | |
download | bcm5719-llvm-ea2c02bcca611b3eb2fab34ef50e0db96d3ca2c9.tar.gz bcm5719-llvm-ea2c02bcca611b3eb2fab34ef50e0db96d3ca2c9.zip |
now that the second argument is always this->ReturnNodes, don't bother passing it.
llvm-svn: 20758
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp index 2dae9432319..acb4b300f94 100644 --- a/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp +++ b/llvm/lib/Analysis/DataStructure/BottomUpClosure.cpp @@ -269,7 +269,7 @@ unsigned BUDataStructures::calculateGraphs(Function *F, if (&G != SCCGraph) { { DSGraph::NodeMapTy NodeMap; - SCCGraph->cloneInto(G, SCCGraph->getReturnNodes(), NodeMap); + SCCGraph->cloneInto(G, NodeMap); } // Update the DSInfo map and delete the old graph... for (DSGraph::retnodes_iterator I = G.retnodes_begin(), @@ -413,7 +413,7 @@ void BUDataStructures::calculateGraph(DSGraph &Graph) { // bother merging it in again. if (!GI->containsFunction(*I)) { DSGraph::NodeMapTy NodeMap; - GI->cloneInto(getDSGraph(**I), GI->getReturnNodes(), NodeMap); + GI->cloneInto(getDSGraph(**I), NodeMap); ++NumBUInlines; } |