| Index: runtime/vm/ast_transformer.h
|
| ===================================================================
|
| --- runtime/vm/ast_transformer.h (revision 44105)
|
| +++ runtime/vm/ast_transformer.h (working copy)
|
| @@ -10,7 +10,6 @@
|
|
|
| namespace dart {
|
|
|
| -class ParsedFunction;
|
| class Thread;
|
|
|
| // Translate an AstNode containing an expression (that itself contains one or
|
| @@ -40,9 +39,7 @@
|
| //
|
| class AwaitTransformer : public AstNodeVisitor {
|
| public:
|
| - AwaitTransformer(SequenceNode* preamble,
|
| - const ParsedFunction& parsed_function,
|
| - LocalScope* function_top);
|
| + AwaitTransformer(SequenceNode* preamble, LocalScope* function_top);
|
|
|
| #define DECLARE_VISIT(BaseName) \
|
| virtual void Visit##BaseName##Node(BaseName##Node* node);
|
| @@ -52,6 +49,10 @@
|
|
|
| AstNode* Transform(AstNode* expr);
|
|
|
| + static AstNode* RestoreSavedTryContext(Zone* zone,
|
| + LocalScope* scope,
|
| + int16_t try_index);
|
| +
|
| private:
|
| LocalVariable* EnsureCurrentTempVar();
|
| LocalVariable* AddToPreambleNewTempVar(AstNode* node);
|
| @@ -69,7 +70,6 @@
|
| SequenceNode* preamble_;
|
| int32_t temp_cnt_;
|
| AstNode* result_;
|
| - const ParsedFunction& parsed_function_;
|
| LocalScope* function_top_;
|
|
|
| Thread* thread_;
|
|
|