diff options
Diffstat (limited to 'deps/v8/src/parsing/rewriter.h')
-rw-r--r-- | deps/v8/src/parsing/rewriter.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/deps/v8/src/parsing/rewriter.h b/deps/v8/src/parsing/rewriter.h index d0b1191a9f..62873b2980 100644 --- a/deps/v8/src/parsing/rewriter.h +++ b/deps/v8/src/parsing/rewriter.h @@ -9,7 +9,6 @@ namespace v8 { namespace internal { class AstValueFactory; -class DoExpression; class Isolate; class ParseInfo; class Parser; @@ -25,15 +24,6 @@ class Rewriter { // Assumes code has been parsed and scopes have been analyzed. Mutates the // AST, so the AST should not continue to be used in the case of failure. static bool Rewrite(ParseInfo* info); - - // Rewrite a list of statements, using the same rules as a top-level program, - // to ensure identical behaviour of completion result. The temporary is added - // to the closure scope of the do-expression, which matches the closure scope - // of the outer scope (the do-expression itself runs in a block scope, not a - // closure scope). This closure scope needs to be passed in since the - // do-expression could have dropped its own block scope. - static bool Rewrite(Parser* parser, DeclarationScope* closure_scope, - DoExpression* expr, AstValueFactory* factory); }; |