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:
5c1f0f6
)
Fix compilation on GCC 2.96
author
Chris Lattner
<sabre@nondot.org>
Mon, 23 Dec 2002 23:44:04 +0000
(23:44 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 23 Dec 2002 23:44:04 +0000
(23:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5113
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocSimple.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocSimple.cpp
b/lib/CodeGen/RegAllocSimple.cpp
index ffb6e97b19d1e06265e59ed9bf81717ec460340e..9c8f8d475981d5a64e5c5facf1140d79de5af2be 100644
(file)
--- a/
lib/CodeGen/RegAllocSimple.cpp
+++ b/
lib/CodeGen/RegAllocSimple.cpp
@@
-346,7
+346,7
@@
void RegAllocSimple::EmitPrologue() {
///
void RegAllocSimple::EmitEpilogue(MachineBasicBlock &MBB) {
// Insert instructions before the return.
- MachineBasicBlock::iterator I =
--MBB.end()
;
+ MachineBasicBlock::iterator I =
MBB.end()-1
;
const unsigned *CSRegs = RegInfo->getCalleeSaveRegs();
for (unsigned i = 0; CSRegs[i]; ++i) {