aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-01-31 03:37:28 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-01-31 03:37:28 +0000
commit72bebb9205c1628601b052d25555aabe6e15e6f4 (patch)
tree46aec03f1542a43687367daa215ba8134eb259bf /lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
parent0a75538a68cda3bddbda3980ea0128d9f6e6339d (diff)
MRegisterInfo::getLocation() is a really bad idea. Its function is to calculate the offset from frame pointer to a stack slot and then storing the delta in a MachineLocation object. The name is bad (it implies a getter), and MRegisterInfo doesn't need to know about MachineLocation.
Replace getLocation() with getFrameIndexOffset() which returns the delta from frame pointer to stack slot. Dwarf writer can then use the information for whatever it wants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46597 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAG.cpp')
0 files changed, 0 insertions, 0 deletions