aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetRegInfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h
index 75500b58cf..33bcf15e58 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<MachineInstr*>& instrnsBefore,
+ vector<MachineInstr*>& instrnsAfter,
+ MachineInstr *MInst,
const BasicBlock *BB,
PhyRegAlloc &PRA) const = 0;