forked from OSchip/llvm-project
If we have to reset the calculation of the compact encoding, then also reset the
"saved register" index. <rdar://problem/10430076> llvm-svn: 144350
This commit is contained in:
parent
a0e32fc8b6
commit
8df8204554
|
@ -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