| Index: runtime/vm/locations.cc
|
| ===================================================================
|
| --- runtime/vm/locations.cc (revision 25072)
|
| +++ runtime/vm/locations.cc (working copy)
|
| @@ -87,16 +87,14 @@
|
| }
|
|
|
|
|
| -// TODO(regis): Remove all occurences of Address in the architecture independent
|
| -// portion of the vm.
|
| -Address Location::ToStackSlotAddress() const {
|
| +intptr_t Location::ToStackSlotOffset() const {
|
| const intptr_t index = stack_index();
|
| if (index < 0) {
|
| const intptr_t offset = (kParamEndSlotFromFp - index) * kWordSize;
|
| - return Address(FPREG, offset);
|
| + return offset;
|
| } else {
|
| const intptr_t offset = (kFirstLocalSlotFromFp - index) * kWordSize;
|
| - return Address(FPREG, offset);
|
| + return offset;
|
| }
|
| }
|
|
|
|
|