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/Steensgaard.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/Steensgaard.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Steensgaard.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/Steensgaard.cpp b/lib/Analysis/DataStructure/Steensgaard.cpp index 734f26bbd2..17863d1ce0 100644 --- a/lib/Analysis/DataStructure/Steensgaard.cpp +++ b/lib/Analysis/DataStructure/Steensgaard.cpp @@ -123,10 +123,8 @@ bool Steens::runOnModule(Module &M) { // into this graph. // for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) - if (!I->isExternal()) { - DSGraph::NodeMapTy NodeMap; - ResultGraph->cloneInto(LDS.getDSGraph(*I), NodeMap, 0); - } + if (!I->isExternal()) + ResultGraph->cloneInto(LDS.getDSGraph(*I)); ResultGraph->removeTriviallyDeadNodes(); |