Update the saved stack pointer in the sjlj function context following either
[oota-llvm.git] / lib / Target / ARM / ARMBaseInstrInfo.cpp
index 2528854133e5e0d9d2e88872bb9287c443b40fe1..7763fb50ba0decaa65824efaf9e2b9b9ff09803b 100644 (file)
@@ -524,11 +524,11 @@ unsigned ARMBaseInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
       return 10;
     case ARM::Int_eh_sjlj_setjmp:
     case ARM::Int_eh_sjlj_setjmp_nofp:
-      return 24;
+      return 20;
     case ARM::tInt_eh_sjlj_setjmp:
     case ARM::t2Int_eh_sjlj_setjmp:
     case ARM::t2Int_eh_sjlj_setjmp_nofp:
-      return 14;
+      return 12;
     case ARM::BR_JTr:
     case ARM::BR_JTm:
     case ARM::BR_JTadd: