summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCRegisterInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-02-28 00:21:17 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-02-28 00:21:17 +0000
commit5e6df4647e15c50daea9a8a4e7f4f417a266335c (patch)
tree3a87ee2820fe7e412b4c1324f1973ade4ab1f859 /lib/Target/PowerPC/PPCRegisterInfo.h
parent37f15a6d488d256d371f6c39ab83837bc9c0772d (diff)
downloadllvm-5e6df4647e15c50daea9a8a4e7f4f417a266335c.tar.gz
llvm-5e6df4647e15c50daea9a8a4e7f4f417a266335c.tar.bz2
llvm-5e6df4647e15c50daea9a8a4e7f4f417a266335c.tar.xz
PEI now passes a RegScavenger ptr to eliminateFrameIndex.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.h')
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.h b/lib/Target/PowerPC/PPCRegisterInfo.h
index 5ca2d7d2a2..3a46dcd013 100644
--- a/lib/Target/PowerPC/PPCRegisterInfo.h
+++ b/lib/Target/PowerPC/PPCRegisterInfo.h
@@ -76,7 +76,8 @@ public:
bool usesLR(MachineFunction &MF) const;
void lowerDynamicAlloc(MachineBasicBlock::iterator II) const;
- void eliminateFrameIndex(MachineBasicBlock::iterator II) const;
+ void eliminateFrameIndex(MachineBasicBlock::iterator II,
+ RegScavenger *RS = NULL) const;
/// determineFrameLayout - Determine the size of the frame and maximum call
/// frame size.