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

Unified Diff: runtime/vm/parser.h

Issue 10910119: Implement new optional parameters syntax in the vm (issue 4290). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/object_test.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/parser.h
===================================================================
--- runtime/vm/parser.h (revision 12003)
+++ runtime/vm/parser.h (working copy)
@@ -41,8 +41,8 @@
expression_temp_var_(NULL),
first_parameter_index_(0),
first_stack_local_index_(0),
- copied_parameter_count_(0),
- stack_local_count_(0) { }
+ num_copied_params_(0),
+ num_stack_locals_(0) { }
const Function& function() const { return function_; }
@@ -87,8 +87,8 @@
int first_parameter_index() const { return first_parameter_index_; }
int first_stack_local_index() const { return first_stack_local_index_; }
- int copied_parameter_count() const { return copied_parameter_count_; }
- int stack_local_count() const { return stack_local_count_; }
+ int num_copied_params() const { return num_copied_params_; }
+ int num_stack_locals() const { return num_stack_locals_; }
void AllocateVariables();
@@ -102,8 +102,8 @@
int first_parameter_index_;
int first_stack_local_index_;
- int copied_parameter_count_;
- int stack_local_count_;
+ int num_copied_params_;
+ int num_stack_locals_;
DISALLOW_COPY_AND_ASSIGN(ParsedFunction);
};
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698