aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMBaseInstrInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-11-03 23:13:34 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-11-03 23:13:34 +0000
commit276f816673b1257798355cedad6f1529c75af3dd (patch)
tree6b1a1bdb7fcfa59a656d02aaddffbe6f0dd97dde /lib/Target/ARM/ARMBaseInstrInfo.cpp
parenteafe7166f828b3444172ff8d3ab2fc1f060d1004 (diff)
downloadexternal_llvm-276f816673b1257798355cedad6f1529c75af3dd.zip
external_llvm-276f816673b1257798355cedad6f1529c75af3dd.tar.gz
external_llvm-276f816673b1257798355cedad6f1529c75af3dd.tar.bz2
Fix t2Int_eh_sjlj_setjmp. Immediate form of orr is a 32-bit instruction. So it should be 22 bytes instead of 20 bytes long.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.cpp')
-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 c9b939d..7c5b0f0 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -448,7 +448,7 @@ unsigned ARMBaseInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
case ARM::Int_eh_sjlj_setjmp:
return 24;
case ARM::t2Int_eh_sjlj_setjmp:
- return 20;
+ return 22;
case ARM::BR_JTr:
case ARM::BR_JTm:
case ARM::BR_JTadd: