summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-30 21:23:24 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-30 21:23:24 +0000
commit6470e07e20dc5aac2e0e2999da28df0a1d049160 (patch)
tree8dad6c12a534795710147e7335cb3d0a8f17e965 /llvm/lib
parent1450f61e8f331103727a8c47defbd07a527dc0cd (diff)
downloadbcm5719-llvm-6470e07e20dc5aac2e0e2999da28df0a1d049160.tar.gz
bcm5719-llvm-6470e07e20dc5aac2e0e2999da28df0a1d049160.zip
Fix off-by-one error Benjamin noticed.
llvm-svn: 138832
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86FrameLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FrameLowering.cpp b/llvm/lib/Target/X86/X86FrameLowering.cpp
index da252a79ac8..381049b3175 100644
--- a/llvm/lib/Target/X86/X86FrameLowering.cpp
+++ b/llvm/lib/Target/X86/X86FrameLowering.cpp
@@ -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));
}
OpenPOWER on IntegriCloud