| Index: runtime/vm/parser.h
|
| diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
|
| index 88bd8e74908025b32e2a3e6a6c87ca29e6367b68..a7d6f6bea6c6ff8ce78dce6549614be99469d830 100644
|
| --- a/runtime/vm/parser.h
|
| +++ b/runtime/vm/parser.h
|
| @@ -34,7 +34,11 @@ class ParsedFunction : ValueObject {
|
| : function_(function),
|
| node_sequence_(NULL),
|
| instantiator_(NULL),
|
| - default_parameter_values_(Array::Handle()) { }
|
| + default_parameter_values_(Array::Handle()),
|
| + first_parameter_index_(0),
|
| + first_local_index_(0),
|
| + copied_parameter_count_(0),
|
| + local_count_(0) { }
|
|
|
| const Function& function() const { return function_; }
|
|
|
| @@ -57,12 +61,24 @@ class ParsedFunction : ValueObject {
|
| default_parameter_values_ = default_parameter_values.raw();
|
| }
|
|
|
| + int first_parameter_index() const { return first_parameter_index_; }
|
| + int first_local_index() const { return first_local_index_; }
|
| + int copied_parameter_count() const { return copied_parameter_count_; }
|
| + int local_count() const { return local_count_; }
|
| +
|
| + void AllocateVariables();
|
| +
|
| private:
|
| const Function& function_;
|
| SequenceNode* node_sequence_;
|
| AstNode* instantiator_;
|
| Array& default_parameter_values_;
|
|
|
| + int first_parameter_index_;
|
| + int first_local_index_;
|
| + int copied_parameter_count_;
|
| + int local_count_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ParsedFunction);
|
| };
|
|
|
|
|