aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-08 22:05:27 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-08 22:05:27 +0000
commit3a15a4eb97ebdd4bac23f40d2f625ce5800d547c (patch)
tree9dfe831e73fe6dbe41dbca350de9ddc10bd54ec7 /lib/CodeGen/LiveIntervalAnalysis.cpp
parent38dc79b36823c3b026618382614b5be87b4a356e (diff)
downloadexternal_llvm-3a15a4eb97ebdd4bac23f40d2f625ce5800d547c.zip
external_llvm-3a15a4eb97ebdd4bac23f40d2f625ce5800d547c.tar.gz
external_llvm-3a15a4eb97ebdd4bac23f40d2f625ce5800d547c.tar.bz2
Forgot these files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 5ac8b34..b508ac2 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -709,8 +709,8 @@ bool LiveIntervals::tryFoldMemoryOperand(MachineInstr* &MI,
FoldOps.push_back(OpIdx);
}
- MachineInstr *fmi = isSS ? tii_->foldMemoryOperand(MI, FoldOps, Slot)
- : tii_->foldMemoryOperand(MI, FoldOps, DefMI);
+ MachineInstr *fmi = isSS ? tii_->foldMemoryOperand(*mf_, MI, FoldOps, Slot)
+ : tii_->foldMemoryOperand(*mf_, MI, FoldOps, DefMI);
if (fmi) {
// Attempt to fold the memory reference into the instruction. If
// we can do this, we don't need to insert spill code.