Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(723)

Unified Diff: runtime/vm/locations.cc

Issue 14925005: Remove stack_frame_<arch>.cc files. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.cc
===================================================================
--- runtime/vm/locations.cc (revision 22469)
+++ runtime/vm/locations.cc (working copy)
@@ -90,10 +90,10 @@
Address Location::ToStackSlotAddress() const {
const intptr_t index = stack_index();
if (index < 0) {
- const intptr_t offset = (kLastParamSlotIndex - index - 1) * kWordSize;
+ const intptr_t offset = (kParamEndSlotFromFp - index) * kWordSize;
return Address(FPREG, offset);
} else {
- const intptr_t offset = (kFirstLocalSlotIndex - index) * kWordSize;
+ const intptr_t offset = (kFirstLocalSlotFromFp - index) * kWordSize;
return Address(FPREG, offset);
}
}
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698