diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-03-22 00:29:44 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-03-22 00:29:44 +0000 | 
| commit | ea2c02bcca611b3eb2fab34ef50e0db96d3ca2c9 (patch) | |
| tree | 6025a470474492c0b3f4ce754dac15d73b21419d /llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp | |
| parent | 571578143cd800f8eaf0c7fc74fd6fd0ecbdf0aa (diff) | |
| download | bcm5719-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/CompleteBottomUp.cpp')
| -rw-r--r-- | llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp index bc8e04c100a..7b7e62f8d09 100644 --- a/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp +++ b/llvm/lib/Analysis/DataStructure/CompleteBottomUp.cpp @@ -175,8 +175,10 @@ unsigned CompleteBUDataStructures::calculateSCCGraphs(DSGraph &FG,      DSGraph *NG = Stack.back();      ValMap[NG] = ~0U; -    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(); | 

