projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e0e36
)
Cosmetic change.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 27 Jul 2009 18:31:40 +0000
(18:31 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 27 Jul 2009 18:31:40 +0000
(18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77222
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMBaseRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMBaseRegisterInfo.cpp
b/lib/Target/ARM/ARMBaseRegisterInfo.cpp
index 791fd4c56167b44574f46448964877eb35d8cc3c..6ef1fff8d81c5d074dfcf9275c4fbc10f58ea6be 100644
(file)
--- 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");