diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-22 00:36:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-22 00:36:51 +0000 |
commit | fcae88f280bfca7377eb627eb4496e680df239cd (patch) | |
tree | 0567ed4bb7324e7fd6096c6a2c3b3a087c11f043 /llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp | |
parent | 8016c975c9ddb15a3b47238555be46caafebd62e (diff) | |
download | bcm5719-llvm-fcae88f280bfca7377eb627eb4496e680df239cd.tar.gz bcm5719-llvm-fcae88f280bfca7377eb627eb4496e680df239cd.zip |
Now that the dead ctor is gone, nothing uses the old node mapping exported by
cloneInto: make it an internally used mapping.
llvm-svn: 20760
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp index a778d94c58a..7632200b83e 100644 --- a/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp +++ b/llvm/lib/Analysis/DataStructure/EquivClassGraphs.cpp @@ -270,8 +270,7 @@ void EquivClassGraphs::buildIndirectFunctionSets(Module &M) { } // Clone this member of the equivalence class into MergedG. - DSGraph::NodeMapTy NodeMap; - MergedG.cloneInto(CBUGraph, NodeMap); + MergedG.cloneInto(CBUGraph); } // Merge the return nodes of all functions together. @@ -362,10 +361,7 @@ 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, NodeMap); - } + FG.cloneInto(*NG); // Update the DSInfo map and delete the old graph... for (DSGraph::retnodes_iterator I = NG->retnodes_begin(); |