Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(875)

Unified Diff: src/parsing/rewriter.h

Issue 2212383003: Revert of Separate Scope into DeclarationScope and Scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parsing/preparser.cc ('k') | src/parsing/rewriter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/rewriter.h
diff --git a/src/parsing/rewriter.h b/src/parsing/rewriter.h
index 2dbfd32b7fa35d86c053959b3c2d87c6215b4649..b90607489076ddb55f931160339ad16a22b7e490 100644
--- a/src/parsing/rewriter.h
+++ b/src/parsing/rewriter.h
@@ -12,7 +12,6 @@
class DoExpression;
class ParseInfo;
class Parser;
-class DeclarationScope;
class Scope;
class Rewriter {
@@ -31,8 +30,8 @@
// 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);
+ static bool Rewrite(Parser* parser, Scope* closure_scope, DoExpression* expr,
+ AstValueFactory* factory);
};
« no previous file with comments | « src/parsing/preparser.cc ('k') | src/parsing/rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698