summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-07-10 21:30:17 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-07-10 21:30:17 +0000
commit9423a4d0a5f252f7b99a56ea8a5e79ca2934a4b3 (patch)
tree7a443d0450177a4de6d889766796f356fb4a4af2 /llvm
parent075ee8a8364743f96e3a7f93b3b36eeb534dc7f9 (diff)
downloadbcm5719-llvm-9423a4d0a5f252f7b99a56ea8a5e79ca2934a4b3.tar.gz
bcm5719-llvm-9423a4d0a5f252f7b99a56ea8a5e79ca2934a4b3.zip
Put caller-saving code *before* argument copying code!
(This file has a minor change required for this fix.) llvm-svn: 2854
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Target/TargetRegInfo.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetRegInfo.h b/llvm/include/llvm/Target/TargetRegInfo.h
index 75500b58cfe..33bcf15e58f 100644
--- a/llvm/include/llvm/Target/TargetRegInfo.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud