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 | d65145bd3d5cf7ca5f318b0ec8f8f42d34a39d35 (patch) | |
tree | 7c19edf0823b1b627195ffe7e54d165700743a3c /lib/Analysis/DataStructure/CompleteBottomUp.cpp | |
parent | 560af8aa975cdd27c1e3217e8c633650a796357d (diff) |
now that the second argument is always this->ReturnNodes, don't bother passing it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20758 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/CompleteBottomUp.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/CompleteBottomUp.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/lib/Analysis/DataStructure/CompleteBottomUp.cpp index bc8e04c100..7b7e62f8d0 100644 --- a/lib/Analysis/DataStructure/CompleteBottomUp.cpp +++ b/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(); |