From 293f8d9b8800ab68c64b67f38a7f76e00126715d Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 27 Jul 2009 18:31:40 +0000 Subject: [PATCH] Cosmetic change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77222 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMBaseRegisterInfo.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/lib/Target/ARM/ARMBaseRegisterInfo.cpp index 791fd4c5616..6ef1fff8d81 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");