mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Put caller-saving code *before* argument copying code!
(This file has a minor change required for this fix.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2854 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bba2485c70
commit
9d22cd4535
@ -220,7 +220,9 @@ public:
|
||||
// an architecture. This must insert code for saving and restoring
|
||||
// such registers on
|
||||
//
|
||||
virtual void insertCallerSavingCode(MachineInstr *MInst,
|
||||
virtual void insertCallerSavingCode(vector<MachineInstr*>& instrnsBefore,
|
||||
vector<MachineInstr*>& instrnsAfter,
|
||||
MachineInstr *MInst,
|
||||
const BasicBlock *BB,
|
||||
PhyRegAlloc &PRA) const = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user