parent
a7630bdc06
commit
0929c5ef68
|
@ -790,7 +790,7 @@ void DSGraph::cloneInto(const DSGraph &G, ScalarMapTy &OldValMap,
|
||||||
I->second.getOffset()+MappedNode.getOffset()));
|
I->second.getOffset()+MappedNode.getOffset()));
|
||||||
|
|
||||||
// If this is a global, add the global to this fn or merge if already exists
|
// If this is a global, add the global to this fn or merge if already exists
|
||||||
if (isa<GlobalValue>(I->first) && &OldNodeMap != &ScalarMap)
|
if (isa<GlobalValue>(I->first))
|
||||||
ScalarMap[I->first].mergeWith(H);
|
ScalarMap[I->first].mergeWith(H);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue