Fix bug in last checkin

llvm-svn: 7003
This commit is contained in:
Chris Lattner 2003-06-30 05:18:26 +00:00
parent a7630bdc06
commit 0929c5ef68
1 changed files with 1 additions and 1 deletions

View File

@ -790,7 +790,7 @@ void DSGraph::cloneInto(const DSGraph &G, ScalarMapTy &OldValMap,
I->second.getOffset()+MappedNode.getOffset()));
// 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);
}