aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocBigBlock.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/RegAllocBigBlock.cpp
parent38dc79b36823c3b026618382614b5be87b4a356e (diff)
downloadexternal_llvm-3a15a4eb97ebdd4bac23f40d2f625ce5800d547c.tar.gz
external_llvm-3a15a4eb97ebdd4bac23f40d2f625ce5800d547c.tar.bz2
external_llvm-3a15a4eb97ebdd4bac23f40d2f625ce5800d547c.zip
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/RegAllocBigBlock.cpp')
-rw-r--r--lib/CodeGen/RegAllocBigBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocBigBlock.cpp b/lib/CodeGen/RegAllocBigBlock.cpp
index 592650fca0..e6dc7442f8 100644
--- a/lib/CodeGen/RegAllocBigBlock.cpp
+++ b/lib/CodeGen/RegAllocBigBlock.cpp
@@ -521,7 +521,7 @@ MachineInstr *RABigBlock::reloadVirtReg(MachineBasicBlock &MBB, MachineInstr *MI
// try to fold the spill into the instruction
SmallVector<unsigned, 2> Ops;
Ops.push_back(OpNum);
- if(MachineInstr* FMI = TII->foldMemoryOperand(MI, Ops, FrameIndex)) {
+ if(MachineInstr* FMI = TII->foldMemoryOperand(*MF, MI, Ops, FrameIndex)) {
++NumFolded;
FMI->copyKillDeadInfo(MI);
return MBB.insert(MBB.erase(MI), FMI);