Put caller-saving code *before* argument copying code!

(This file has a minor change required for this fix.)

llvm-svn: 2854
This commit is contained in:
Vikram S. Adve 2002-07-10 21:30:17 +00:00
parent 4543e3c252
commit 47a8810964

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;