mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 05:31:06 +00:00
Fix compilation on GCC 2.96
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5113 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c1f0f6914
commit
e500864619
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user