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:
Vikram S. Adve 2002-07-10 21:30:17 +00:00
parent bba2485c70
commit 9d22cd4535

View File

@ -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;