Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index cfa7da3c741663f63a66f5b4ce21f4e16d2279e1..364f0c3536a7dae1aca8ba848e0810b86171d0dc 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -48,7 +48,9 @@ class JumpPatchSite; |
// debugger to piggybag on. |
class BreakableStatementChecker: public AstVisitor { |
public: |
- BreakableStatementChecker() : is_breakable_(false) {} |
+ BreakableStatementChecker() : is_breakable_(false) { |
+ InitializeAstVisitor(); |
+ } |
void Check(Statement* stmt); |
void Check(Expression* stmt); |
@@ -63,6 +65,7 @@ class BreakableStatementChecker: public AstVisitor { |
bool is_breakable_; |
+ DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
DISALLOW_COPY_AND_ASSIGN(BreakableStatementChecker); |
}; |
@@ -824,6 +827,7 @@ class FullCodeGenerator: public AstVisitor { |
friend class NestedStatement; |
+ DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |
DISALLOW_COPY_AND_ASSIGN(FullCodeGenerator); |
}; |