mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Fix bug in last checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa45c7a938
commit
7b1ceaa40b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user