aboutsummaryrefslogtreecommitdiffstats
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
commit89116de4c762ecba8215146476297f5c2357ba57 (patch)
tree4566ae5033a6b2fbb35e29ad0efab6d121d735c9
parentd0f3a78d5b47386e37224a9d609974239e36759c (diff)
downloadexternal_llvm-89116de4c762ecba8215146476297f5c2357ba57.zip
external_llvm-89116de4c762ecba8215146476297f5c2357ba57.tar.gz
external_llvm-89116de4c762ecba8215146476297f5c2357ba57.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
-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: