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

Unified Diff: runtime/vm/stack_frame.cc

Issue 12776006: Make allocation of Dart parameters and local variables architecture independent. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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
« runtime/vm/parser.cc ('K') | « runtime/vm/scopes.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame.cc
===================================================================
--- runtime/vm/stack_frame.cc (revision 20045)
+++ runtime/vm/stack_frame.cc (working copy)
@@ -61,8 +61,8 @@
ASSERT(visitor != NULL);
NoGCScope no_gc;
RawObject** start_addr = reinterpret_cast<RawObject**>(sp());
- RawObject** end_addr = reinterpret_cast<RawObject**>(fp()) +
- ParsedFunction::kFirstLocalSlotIndex;
+ RawObject** end_addr =
+ reinterpret_cast<RawObject**>(fp()) + kFirstLocalSlotIndex;
Code code;
code = LookupDartCode();
if (!code.IsNull()) {
« runtime/vm/parser.cc ('K') | « runtime/vm/scopes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698