diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-10-17 06:22:26 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-10-17 06:22:26 +0000 |
commit | 0818d87ed15e2c798baef81630accafe81a14519 (patch) | |
tree | 01cf7c95c7a8d53a9902c0b83eb3bb2523f17c15 /llvm/lib/CodeGen/StackSlotColoring.cpp | |
parent | 05729c2835daf28a30f1649f58196031bf6ae9d8 (diff) | |
download | bcm5719-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.cpp | 4 |
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) |