mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 01:43:06 +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.
|
||||
if (STI.isTargetDarwin() && !STI.getTargetTriple().isMacOSXVersionLT(10, 6))
|
||||
if (STI.isTargetDarwin() && !STI.getTargetTriple().isMacOSXVersionLT(10, 7))
|
||||
MMI.setCompactUnwindEncoding(getCompactUnwindEncoding(MF));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user