From: Vikram S. Adve Date: Wed, 10 Jul 2002 21:30:17 +0000 (+0000) Subject: Put caller-saving code *before* argument copying code! X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9d22cd45359f0d200e374d75f7a8935235da2ef6;p=oota-llvm.git 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 --- diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h index 75500b58cfe..33bcf15e58f 100644 --- a/include/llvm/Target/TargetRegInfo.h +++ b/include/llvm/Target/TargetRegInfo.h @@ -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& instrnsBefore, + vector& instrnsAfter, + MachineInstr *MInst, const BasicBlock *BB, PhyRegAlloc &PRA) const = 0;