mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +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:
parent
25e0a87e91
commit
d2df64f569
@ -815,7 +815,6 @@ void RAFast::AllocateBasicBlock() {
|
||||
if (!MO.isReg()) continue;
|
||||
unsigned Reg = MO.getReg();
|
||||
if (!TargetRegisterInfo::isVirtualRegister(Reg)) continue;
|
||||
LiveDbgValueMap[Reg].push_back(MI);
|
||||
LiveRegMap::iterator LRI = LiveVirtRegs.find(Reg);
|
||||
if (LRI != LiveVirtRegs.end())
|
||||
setPhysReg(MI, i, LRI->second.PhysReg);
|
||||
@ -849,6 +848,7 @@ void RAFast::AllocateBasicBlock() {
|
||||
}
|
||||
}
|
||||
}
|
||||
LiveDbgValueMap[Reg].push_back(MI);
|
||||
}
|
||||
}
|
||||
// Next instruction.
|
||||
|
Loading…
Reference in New Issue
Block a user