aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-08-11 17:08:15 +0000
committerJim Grosbach <grosbach@apple.com>2009-08-11 17:08:15 +0000
commitcdc17ebc2b2e9e18ac516b9d246a5c5a3af227d3 (patch)
tree4566ae5033a6b2fbb35e29ad0efab6d121d735c9 /lib
parent59c4f5c2fc82af14b0f4f332709aac62921c6177 (diff)
downloadexternal_llvm-cdc17ebc2b2e9e18ac516b9d246a5c5a3af227d3.zip
external_llvm-cdc17ebc2b2e9e18ac516b9d246a5c5a3af227d3.tar.gz
external_llvm-cdc17ebc2b2e9e18ac516b9d246a5c5a3af227d3.tar.bz2
fix GetInstSizeInBytes for eh_sjlj_setjmp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78683 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp
index ff109ed..f4aded9 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -440,7 +440,7 @@ unsigned ARMBaseInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
// operand #2.
return MI->getOperand(2).getImm();
case ARM::Int_eh_sjlj_setjmp:
- return 12;
+ return 24;
case ARM::BR_JTr:
case ARM::BR_JTm:
case ARM::BR_JTadd: