mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
If we have to reset the calculation of the compact encoding, then also reset the
"saved register" index. <rdar://problem/10430076> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144350 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e89d97e3a
commit
c739577d3c
@ -518,6 +518,7 @@ uint32_t X86FrameLowering::getCompactUnwindEncoding(MachineFunction &MF) const {
|
||||
|
||||
CFAOffset = 0;
|
||||
memset(SavedRegs, 0, sizeof(SavedRegs));
|
||||
SavedRegIdx = 6;
|
||||
InstrOffset += MoveInstrSize;
|
||||
} else if (Opc == SubtractInstr) {
|
||||
if (StackAdjust)
|
||||
|
Loading…
Reference in New Issue
Block a user