diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-27 18:31:40 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-27 18:31:40 +0000 |
commit | 9399ff2369c6919e277afab10dc67d37386a7095 (patch) | |
tree | 7c0e84a0a3aaee67852ac3c1b1877a55de77aaa6 | |
parent | 2c03f6d1089da3175a70901a832840fc56687fe9 (diff) | |
download | external_llvm-9399ff2369c6919e277afab10dc67d37386a7095.zip external_llvm-9399ff2369c6919e277afab10dc67d37386a7095.tar.gz external_llvm-9399ff2369c6919e277afab10dc67d37386a7095.tar.bz2 |
Cosmetic change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77222 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMBaseRegisterInfo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/lib/Target/ARM/ARMBaseRegisterInfo.cpp index 791fd4c..6ef1fff 100644 --- a/lib/Target/ARM/ARMBaseRegisterInfo.cpp +++ b/lib/Target/ARM/ARMBaseRegisterInfo.cpp @@ -1367,8 +1367,10 @@ static bool isCSRestore(MachineInstr *MI, } void ARMBaseRegisterInfo:: -emitEpilogue(MachineFunction &MF, - MachineBasicBlock &MBB) const { +emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const { + assert(!STI.isThumb1Only && + "This emitEpilogue should not be executed for Thumb1!"); + MachineBasicBlock::iterator MBBI = prior(MBB.end()); assert(MBBI->getDesc().isReturn() && "Can only insert epilog into returning blocks"); |