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

Unified Diff: src/ast/ast.h

Issue 2301423002: includes: Make ast.h not need isolate.h any more. (Closed)
Patch Set: rebased 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/asmjs/asm-wasm-builder.cc ('k') | src/ast/ast-expression-rewriter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index cc6a64390c9dd12c70a6bab1a4e7e70b0b242e77..596149db53d6a1164d74e87b7a42389d606c88e8 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -11,9 +11,7 @@
#include "src/ast/variables.h"
#include "src/bailout-reason.h"
#include "src/base/flags.h"
-#include "src/factory.h"
#include "src/globals.h"
-#include "src/isolate.h"
#include "src/list.h"
#include "src/parsing/token.h"
#include "src/runtime/runtime.h"
@@ -117,6 +115,7 @@ class Module;
class BreakableStatement;
class Expression;
class IterationStatement;
+class Isolate;
class MaterializedLiteral;
class Statement;
class TypeFeedbackOracle;
@@ -2904,11 +2903,6 @@ class AstVisitor BASE_EMBEDDED {
} \
\
private: \
- void InitializeAstVisitor(Isolate* isolate) { \
- stack_limit_ = isolate->stack_guard()->real_climit(); \
- stack_overflow_ = false; \
- } \
- \
void InitializeAstVisitor(uintptr_t stack_limit) { \
stack_limit_ = stack_limit; \
stack_overflow_ = false; \
@@ -2937,11 +2931,6 @@ class AstVisitor BASE_EMBEDDED {
} \
\
private: \
- void InitializeAstRewriter(Isolate* isolate) { \
- InitializeAstVisitor(isolate); \
- replacement_ = nullptr; \
- } \
- \
void InitializeAstRewriter(uintptr_t stack_limit) { \
InitializeAstVisitor(stack_limit); \
replacement_ = nullptr; \
« no previous file with comments | « src/asmjs/asm-wasm-builder.cc ('k') | src/ast/ast-expression-rewriter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698