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

Unified Diff: src/ast/ast-traversal-visitor.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/ast/ast-numbering.cc ('k') | src/ast/modules.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast-traversal-visitor.h
diff --git a/src/ast/ast-traversal-visitor.h b/src/ast/ast-traversal-visitor.h
index 0f2976c4ca4f9e6b9b290ad761620c4881609b74..599c6d9c5c2945a7cc6b9e06ae5856386d340d6a 100644
--- a/src/ast/ast-traversal-visitor.h
+++ b/src/ast/ast-traversal-visitor.h
@@ -28,7 +28,6 @@ namespace internal {
template <class Subclass>
class AstTraversalVisitor : public AstVisitor<Subclass> {
public:
- explicit AstTraversalVisitor(Isolate* isolate, AstNode* root = nullptr);
explicit AstTraversalVisitor(uintptr_t stack_limit, AstNode* root = nullptr);
void Run() {
@@ -88,12 +87,6 @@ class AstTraversalVisitor : public AstVisitor<Subclass> {
if (HasStackOverflow()) return; \
} while (false)
-template <class Subclass>
-AstTraversalVisitor<Subclass>::AstTraversalVisitor(Isolate* isolate,
- AstNode* root)
- : root_(root), depth_(0) {
- InitializeAstVisitor(isolate);
-}
template <class Subclass>
AstTraversalVisitor<Subclass>::AstTraversalVisitor(uintptr_t stack_limit,
« no previous file with comments | « src/ast/ast-numbering.cc ('k') | src/ast/modules.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698