summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackSlotColoring.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-10-17 07:53:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-10-17 07:53:04 +0000
commit8759585aba78a2109db10511fdd0913af7d6e844 (patch)
tree30a198744a1d4917d1f491142a93bf2a10b45c59 /llvm/lib/CodeGen/StackSlotColoring.cpp
parent1baf407fbcaaccc33a6c30de9b2b39d258b919c5 (diff)
downloadbcm5719-llvm-8759585aba78a2109db10511fdd0913af7d6e844.tar.gz
bcm5719-llvm-8759585aba78a2109db10511fdd0913af7d6e844.zip
Revert 84315 for now. Re-thinking the patch.
llvm-svn: 84321
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r--llvm/lib/CodeGen/StackSlotColoring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/StackSlotColoring.cpp b/llvm/lib/CodeGen/StackSlotColoring.cpp
index 242ff656359..fad0808c893 100644
--- a/llvm/lib/CodeGen/StackSlotColoring.cpp
+++ b/llvm/lib/CodeGen/StackSlotColoring.cpp
@@ -466,8 +466,8 @@ void StackSlotColoring::RewriteInstruction(MachineInstr *MI, int OldFI,
// Update the memory references. This changes the MachineMemOperands
// directly. They may be in use by multiple instructions, however all
// instructions using OldFI are being rewritten to use NewFI.
- const Value *OldSV = PseudoSourceValue::getStackObject(OldFI);
- const Value *NewSV = PseudoSourceValue::getStackObject(NewFI);
+ const Value *OldSV = PseudoSourceValue::getFixedStack(OldFI);
+ const Value *NewSV = PseudoSourceValue::getFixedStack(NewFI);
for (MachineInstr::mmo_iterator I = MI->memoperands_begin(),
E = MI->memoperands_end(); I != E; ++I)
if ((*I)->getValue() == OldSV)
OpenPOWER on IntegriCloud