mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 20:29:30 +00:00
Fix off-by-one error Benjamin noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138832 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6cac2025da
commit
e716124feb
@ -901,7 +901,7 @@ void X86FrameLowering::emitPrologue(MachineFunction &MF) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Darwin 10.7 and greater has support for compact unwind encoding.
|
// Darwin 10.7 and greater has support for compact unwind encoding.
|
||||||
if (STI.isTargetDarwin() && !STI.getTargetTriple().isMacOSXVersionLT(10, 6))
|
if (STI.isTargetDarwin() && !STI.getTargetTriple().isMacOSXVersionLT(10, 7))
|
||||||
MMI.setCompactUnwindEncoding(getCompactUnwindEncoding(MF));
|
MMI.setCompactUnwindEncoding(getCompactUnwindEncoding(MF));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user