Cosmetic change.

llvm-svn: 77222
This commit is contained in:
Evan Cheng 2009-07-27 18:31:40 +00:00
parent 8f2ed1bc5a
commit 239ed4b343
1 changed files with 4 additions and 2 deletions

View File

@ -1367,8 +1367,10 @@ static bool isCSRestore(MachineInstr *MI,
} }
void ARMBaseRegisterInfo:: void ARMBaseRegisterInfo::
emitEpilogue(MachineFunction &MF, emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const {
MachineBasicBlock &MBB) const { assert(!STI.isThumb1Only &&
"This emitEpilogue should not be executed for Thumb1!");
MachineBasicBlock::iterator MBBI = prior(MBB.end()); MachineBasicBlock::iterator MBBI = prior(MBB.end());
assert(MBBI->getDesc().isReturn() && assert(MBBI->getDesc().isReturn() &&
"Can only insert epilog into returning blocks"); "Can only insert epilog into returning blocks");