mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-28 23:17:10 +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:
@@ -518,6 +518,7 @@ uint32_t X86FrameLowering::getCompactUnwindEncoding(MachineFunction &MF) const {
|
|||||||
|
|
||||||
CFAOffset = 0;
|
CFAOffset = 0;
|
||||||
memset(SavedRegs, 0, sizeof(SavedRegs));
|
memset(SavedRegs, 0, sizeof(SavedRegs));
|
||||||
|
SavedRegIdx = 6;
|
||||||
InstrOffset += MoveInstrSize;
|
InstrOffset += MoveInstrSize;
|
||||||
} else if (Opc == SubtractInstr) {
|
} else if (Opc == SubtractInstr) {
|
||||||
if (StackAdjust)
|
if (StackAdjust)
|
||||||
|
Reference in New Issue
Block a user