summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackSlotColoring.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-10-17 06:22:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-10-17 06:22:26 +0000
commit0818d87ed15e2c798baef81630accafe81a14519 (patch)
tree01cf7c95c7a8d53a9902c0b83eb3bb2523f17c15 /llvm/lib/CodeGen/StackSlotColoring.cpp
parent05729c2835daf28a30f1649f58196031bf6ae9d8 (diff)
downloadbcm5719-llvm-0818d87ed15e2c798baef81630accafe81a14519.tar.gz
bcm5719-llvm-0818d87ed15e2c798baef81630accafe81a14519.zip
Rename getFixedStack to getStackObject. The stack objects represented are not
necessarily fixed. Only those will negative frame indices are "fixed." llvm-svn: 84315
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 fad0808c893..242ff656359 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::getFixedStack(OldFI);
- const Value *NewSV = PseudoSourceValue::getFixedStack(NewFI);
+ const Value *OldSV = PseudoSourceValue::getStackObject(OldFI);
+ const Value *NewSV = PseudoSourceValue::getStackObject(NewFI);
for (MachineInstr::mmo_iterator I = MI->memoperands_begin(),
E = MI->memoperands_end(); I != E; ++I)
if ((*I)->getValue() == OldSV)
OpenPOWER on IntegriCloud