diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-10-17 07:53:04 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-10-17 07:53:04 +0000 |
commit | 6553155172a2e74feff1253837daa608123de54a (patch) | |
tree | 2c2b81a5ab0d17f1a636036ce1f85458d65e2ac5 /lib/CodeGen/TargetInstrInfoImpl.cpp | |
parent | bf125583f8bd8196a34921276add7f304b7c1433 (diff) |
Revert 84315 for now. Re-thinking the patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInstrInfoImpl.cpp')
-rw-r--r-- | lib/CodeGen/TargetInstrInfoImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetInstrInfoImpl.cpp b/lib/CodeGen/TargetInstrInfoImpl.cpp index b6107778c8..c646869e8a 100644 --- a/lib/CodeGen/TargetInstrInfoImpl.cpp +++ b/lib/CodeGen/TargetInstrInfoImpl.cpp @@ -187,7 +187,7 @@ TargetInstrInfo::foldMemoryOperand(MachineFunction &MF, const MachineFrameInfo &MFI = *MF.getFrameInfo(); assert(MFI.getObjectOffset(FrameIndex) != -1); MachineMemOperand *MMO = - MF.getMachineMemOperand(PseudoSourceValue::getStackObject(FrameIndex), + MF.getMachineMemOperand(PseudoSourceValue::getFixedStack(FrameIndex), Flags, /*Offset=*/0, MFI.getObjectSize(FrameIndex), MFI.getObjectAlignment(FrameIndex)); |