mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-28 07:17:32 +00:00
Insert modified DBG_VALUE into LiveDbgValueMap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -815,7 +815,6 @@ void RAFast::AllocateBasicBlock() {
|
|||||||
if (!MO.isReg()) continue;
|
if (!MO.isReg()) continue;
|
||||||
unsigned Reg = MO.getReg();
|
unsigned Reg = MO.getReg();
|
||||||
if (!TargetRegisterInfo::isVirtualRegister(Reg)) continue;
|
if (!TargetRegisterInfo::isVirtualRegister(Reg)) continue;
|
||||||
LiveDbgValueMap[Reg].push_back(MI);
|
|
||||||
LiveRegMap::iterator LRI = LiveVirtRegs.find(Reg);
|
LiveRegMap::iterator LRI = LiveVirtRegs.find(Reg);
|
||||||
if (LRI != LiveVirtRegs.end())
|
if (LRI != LiveVirtRegs.end())
|
||||||
setPhysReg(MI, i, LRI->second.PhysReg);
|
setPhysReg(MI, i, LRI->second.PhysReg);
|
||||||
@@ -849,6 +848,7 @@ void RAFast::AllocateBasicBlock() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
LiveDbgValueMap[Reg].push_back(MI);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Next instruction.
|
// Next instruction.
|
||||||
|
Reference in New Issue
Block a user