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

Unified Diff: vm/parser.h

Issue 10375059: Use a reserved stack local variable to store the Code object so that it can be looked up easily whe… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
Index: vm/parser.h
===================================================================
--- vm/parser.h (revision 7576)
+++ vm/parser.h (working copy)
@@ -30,6 +30,8 @@
// The class ParsedFunction holds the result of parsing a function.
class ParsedFunction : ValueObject {
public:
+ static const int kFirstStackSlotIndex = -2;
regis 2012/05/14 17:33:10 The name is not clear, since parameters also occup
siva 2012/05/15 23:52:39 Changed name as discussed offline. The naming for
+
explicit ParsedFunction(const Function& function)
: function_(function),
node_sequence_(NULL),

Powered by Google App Engine
This is Rietveld 408576698