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 | a2197139b5894a4225452b9ffc8417c5d05a157b (patch) | |
tree | 5fa4e0fb41ebd258547b622683d295adef6a8572 /lib/Analysis/DataStructure/CompleteBottomUp.cpp | |
parent | 5805c426dcc2b330565d247677cb12acf7002f15 (diff) |
Now that the dead ctor is gone, nothing uses the old node mapping exported by
cloneInto: make it an internally used mapping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/CompleteBottomUp.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/CompleteBottomUp.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/lib/Analysis/DataStructure/CompleteBottomUp.cpp index 7b7e62f8d0..103c6bf539 100644 --- a/lib/Analysis/DataStructure/CompleteBottomUp.cpp +++ b/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(); |