summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-05-01 09:13:03 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-05-01 09:13:03 +0000
commit97de9138217d6f76f25100df272ec1a3c4d31aad (patch)
tree37acf081b1cd499c69caeaca4e2fd1b7834cf1a8 /lib/Target/PowerPC/PPCRegisterInfo.cpp
parent8e3347332120956538a6d882b02719e34b57f0cd (diff)
downloadllvm-97de9138217d6f76f25100df272ec1a3c4d31aad.tar.gz
llvm-97de9138217d6f76f25100df272ec1a3c4d31aad.tar.bz2
llvm-97de9138217d6f76f25100df272ec1a3c4d31aad.tar.xz
eliminateFrameIndex() change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36626 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 89fa90b7d7..a788a75da5 100644
--- a/lib/Target/PowerPC/PPCRegisterInfo.cpp
+++ b/lib/Target/PowerPC/PPCRegisterInfo.cpp
@@ -589,7 +589,9 @@ void PPCRegisterInfo::lowerDynamicAlloc(MachineBasicBlock::iterator II) const {
}
void PPCRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II,
- RegScavenger *RS) const {
+ int SPAdj, RegScavenger *RS) const {
+ assert(SPAdj == 0 && "Unexpected");
+
// Get the instruction.
MachineInstr &MI = *II;
// Get the instruction's basic block.