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

Unified Diff: src/ast/prettyprinter.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/ast/modules.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/prettyprinter.cc
diff --git a/src/ast/prettyprinter.cc b/src/ast/prettyprinter.cc
index d3218729fb032ba46d8decc198d072acb12c8267..a411b7066af3cfdb3b9e471506ab13ad7ea246f0 100644
--- a/src/ast/prettyprinter.cc
+++ b/src/ast/prettyprinter.cc
@@ -9,8 +9,6 @@
#include "src/ast/ast-value-factory.h"
#include "src/ast/scopes.h"
#include "src/base/platform/platform.h"
-#include "src/execution.h"
-#include "src/isolate.h"
namespace v8 {
namespace internal {
@@ -23,7 +21,7 @@
found_ = false;
done_ = false;
is_builtin_ = is_builtin;
- InitializeAstVisitor(isolate->stack_guard()->real_climit());
+ InitializeAstVisitor(isolate);
}
Handle<String> CallPrinter::Print(FunctionLiteral* program, int position) {
@@ -571,7 +569,7 @@
AstPrinter::AstPrinter(Isolate* isolate)
: isolate_(isolate), output_(nullptr), size_(0), pos_(0), indent_(0) {
- InitializeAstVisitor(isolate->stack_guard()->real_climit());
+ InitializeAstVisitor(isolate);
}
AstPrinter::~AstPrinter() {
« no previous file with comments | « src/ast/modules.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698