Fix off-by-one error Benjamin noticed.

llvm-svn: 138832
This commit is contained in:
Bill Wendling 2011-08-30 21:23:24 +00:00
parent 1450f61e8f
commit 6470e07e20
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}