aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PrologEpilogInserter.cpp
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
commit5de0f7aa14f15f463cedf6391bc4823e79d342b5 (patch)
tree9396b021da0661f28384123645e8a2071635fd7a /lib/CodeGen/PrologEpilogInserter.cpp
parent77a2a9d9dae5dbe551cec102e37ea02f45da44ed (diff)
Elminiate MachineFunction& argument from eliminateFrameIndex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp
index a12b6ca33d..2044212965 100644
--- a/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/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;
}
}