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/CompleteBottomUp.cpp | |
parent | 8016c975c9ddb15a3b47238555be46caafebd62e (diff) | |
download | llvm-fcae88f280bfca7377eb627eb4496e680df239cd.zip llvm-fcae88f280bfca7377eb627eb4496e680df239cd.tar.gz llvm-fcae88f280bfca7377eb627eb4496e680df239cd.tar.bz2 |
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/CompleteBottomUp.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp index 7b7e62f..103c6bf 100644 --- a/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp +++ b/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp @@ -175,10 +175,7 @@ unsigned CompleteBUDataStructures::calculateSCCGraphs(DSGraph &FG, DSGraph *NG = Stack.back(); ValMap[NG] = ~0U; - { - 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(); |