mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Fix a bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a3fd88d01f
commit
28da03b0fe
@ -904,7 +904,7 @@ void ReachabilityCloner::merge(const DSNodeHandle &NH,
|
||||
DSNodeHandle &DestGNH = NodeMap[SrcGNH.getNode()];
|
||||
assert(DestGNH.getNode()==NH.getNode() &&"Global mapping inconsistent");
|
||||
Dest.getNodeForValue(GV).mergeWith(DSNodeHandle(DestGNH.getNode(),
|
||||
DestGNH.getOffset()+NH.getOffset()));
|
||||
DestGNH.getOffset()+SrcGNH.getOffset()));
|
||||
|
||||
if (CloneFlags & DSGraph::UpdateInlinedGlobals)
|
||||
Dest.getInlinedGlobals().insert(GV);
|
||||
|
Loading…
Reference in New Issue
Block a user