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
This commit is contained in:
Chris Lattner
2005-03-22 00:36:51 +00:00
parent 5805c426dc
commit a2197139b5
6 changed files with 14 additions and 32 deletions

View File

@@ -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();