From 9d22cd45359f0d200e374d75f7a8935235da2ef6 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Wed, 10 Jul 2002 21:30:17 +0000 Subject: [PATCH] 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 --- include/llvm/Target/TargetRegInfo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.34.1