| Index: runtime/vm/parser.h
|
| ===================================================================
|
| --- runtime/vm/parser.h (revision 42068)
|
| +++ runtime/vm/parser.h (working copy)
|
| @@ -51,6 +51,7 @@
|
| expression_temp_var_(NULL),
|
| finally_return_temp_var_(NULL),
|
| deferred_prefixes_(new ZoneGrowableArray<const LibraryPrefix*>()),
|
| + guarded_fields_(new ZoneGrowableArray<const Field*>()),
|
| first_parameter_index_(0),
|
| first_stack_local_index_(0),
|
| num_copied_params_(0),
|
| @@ -132,10 +133,18 @@
|
| }
|
| void AddDeferredPrefix(const LibraryPrefix& prefix);
|
|
|
| + ZoneGrowableArray<const Field*>* guarded_fields() const {
|
| + return guarded_fields_;
|
| + }
|
| +
|
| int first_parameter_index() const { return first_parameter_index_; }
|
| int first_stack_local_index() const { return first_stack_local_index_; }
|
| int num_copied_params() const { return num_copied_params_; }
|
| int num_stack_locals() const { return num_stack_locals_; }
|
| + int num_non_copied_params() const {
|
| + return (num_copied_params_ == 0)
|
| + ? function().num_fixed_parameters() : 0;
|
| + }
|
|
|
| void AllocateVariables();
|
| void AllocateIrregexpVariables(intptr_t num_stack_locals);
|
| @@ -174,6 +183,7 @@
|
| LocalVariable* expression_temp_var_;
|
| LocalVariable* finally_return_temp_var_;
|
| ZoneGrowableArray<const LibraryPrefix*>* deferred_prefixes_;
|
| + ZoneGrowableArray<const Field*>* guarded_fields_;
|
|
|
| int first_parameter_index_;
|
| int first_stack_local_index_;
|
|
|