summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-22 00:29:44 +0000
committerChris Lattner <sabre@nondot.org>2005-03-22 00:29:44 +0000
commitea2c02bcca611b3eb2fab34ef50e0db96d3ca2c9 (patch)
tree6025a470474492c0b3f4ce754dac15d73b21419d /llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
parent571578143cd800f8eaf0c7fc74fd6fd0ecbdf0aa (diff)
downloadbcm5719-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/EquivClassGraphs.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
index 83b9d9a3f8d..a778d94c58a 100644
--- a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
+++ b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp
@@ -271,7 +271,7 @@ void EquivClassGraphs::buildIndirectFunctionSets(Module &M) {
// Clone this member of the equivalence class into MergedG.
DSGraph::NodeMapTy NodeMap;
- MergedG.cloneInto(CBUGraph, MergedG.getReturnNodes(), NodeMap, 0);
+ MergedG.cloneInto(CBUGraph, NodeMap);
}
// Merge the return nodes of all functions together.
@@ -362,8 +362,10 @@ processSCC(DSGraph &FG, std::vector<DSGraph*> &Stack, unsigned &NextID,
// If the SCC found is not the same as those found in CBU, make sure to
// merge the graphs as appropriate.
- DSGraph::NodeMapTy NodeMap;
- FG.cloneInto(*NG, FG.getReturnNodes(), NodeMap);
+ {
+ DSGraph::NodeMapTy NodeMap;
+ FG.cloneInto(*NG, NodeMap);
+ }
// Update the DSInfo map and delete the old graph...
for (DSGraph::retnodes_iterator I = NG->retnodes_begin();
OpenPOWER on IntegriCloud