From cdc17ebc2b2e9e18ac516b9d246a5c5a3af227d3 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 11 Aug 2009 17:08:15 +0000 Subject: [PATCH] fix GetInstSizeInBytes for eh_sjlj_setjmp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78683 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMBaseInstrInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp index ff109edffe4..f4aded9397d 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: