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

Unified Diff: src/parsing/rewriter.cc

Issue 2305373002: Revert of includes: Make ast.h not need isolate.h any more. (Closed)
Patch Set: Created 4 years, 3 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/debug/liveedit.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/rewriter.cc
diff --git a/src/parsing/rewriter.cc b/src/parsing/rewriter.cc
index 8aaa28c7866d47b7e3e383937105d99b7b8355ac..51ff547017ef2cec0b08a11d908ff8c5eb4576fb 100644
--- a/src/parsing/rewriter.cc
+++ b/src/parsing/rewriter.cc
@@ -6,8 +6,6 @@
#include "src/ast/ast.h"
#include "src/ast/scopes.h"
-#include "src/execution.h"
-#include "src/isolate.h"
#include "src/parsing/parse-info.h"
#include "src/parsing/parser.h"
@@ -26,7 +24,7 @@
closure_scope_(closure_scope),
factory_(ast_value_factory) {
DCHECK_EQ(closure_scope, closure_scope->GetClosureScope());
- InitializeAstVisitor(isolate->stack_guard()->climit());
+ InitializeAstVisitor(isolate);
}
Processor(Parser* parser, DeclarationScope* closure_scope, Variable* result,
« no previous file with comments | « src/debug/liveedit.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698