summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/exprs.c
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
commita41d3bcb12e88d740c593c7e987726bd4bc16507 (patch)
tree9be7afbd5c18d72c4a9ea5f4390ed71a9026305a /clang/test/CodeGen/exprs.c
parent3c0486fb38aabf2c680e587ed77ca1e7be0bb6ae (diff)
downloadbcm5719-llvm-a41d3bcb12e88d740c593c7e987726bd4bc16507.tar.gz
bcm5719-llvm-a41d3bcb12e88d740c593c7e987726bd4bc16507.zip
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. llvm-svn: 46597
Diffstat (limited to 'clang/test/CodeGen/exprs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud