mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
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:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user