| Index: runtime/vm/parser.h
|
| ===================================================================
|
| --- runtime/vm/parser.h (revision 26486)
|
| +++ runtime/vm/parser.h (working copy)
|
| @@ -182,6 +182,7 @@
|
|
|
| Parser(const Script& script, const Library& library, intptr_t token_pos);
|
| Parser(const Script& script, ParsedFunction* function, intptr_t token_pos);
|
| + ~Parser();
|
|
|
| // The function for which we will generate code.
|
| const Function& current_function() const;
|
| @@ -320,6 +321,8 @@
|
| const Error& prev_error, intptr_t token_pos, const char* format, ...)
|
| PRINTF_ATTRIBUTE(4, 5);
|
|
|
| + void CheckRecursiveInvocation();
|
| +
|
| const Instance& EvaluateConstExpr(AstNode* expr);
|
| AstNode* RunStaticFieldInitializer(const Field& field);
|
| RawObject* EvaluateConstConstructorCall(
|
| @@ -693,6 +696,8 @@
|
| intptr_t AllocateTryIndex() { return ++last_used_try_index_; }
|
| intptr_t last_used_try_index_;
|
|
|
| + bool unregister_pending_function_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(Parser);
|
| };
|
|
|
|
|