summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2004-08-14 22:00:10 +0000
committerNate Begeman <natebegeman@mac.com>2004-08-14 22:00:10 +0000
commit386d940f5cd4a0becd41a821750503e5eb379604 (patch)
treefc217465d24ab2353e4201aa50db35e5cb9d5a64 /llvm/lib/CodeGen
parent61391347154a67968733dc99d556b497009113fa (diff)
downloadbcm5719-llvm-386d940f5cd4a0becd41a821750503e5eb379604.tar.gz
bcm5719-llvm-386d940f5cd4a0becd41a821750503e5eb379604.zip
Elminiate MachineFunction& argument from eliminateFrameIndex
llvm-svn: 15736
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index a12b6ca33db..20442129650 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -337,7 +337,7 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) {
if (I->getOperand(i).isFrameIndex()) {
// If this instruction has a FrameIndex operand, we need to use that
// target machine register info object to eliminate it.
- MRI.eliminateFrameIndex(Fn, I);
+ MRI.eliminateFrameIndex(I);
break;
}
}
OpenPOWER on IntegriCloud