Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index 3adca6bc24bf7d88db97cfeff5dd0de0e0a488b3..c81c80d7533e8e7c7fbf443d315e42454c9b323b 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -19,19 +19,19 @@ namespace interpreter { |
class LoopBuilder; |
-class BytecodeGenerator final : public AstVisitor { |
+class BytecodeGenerator final : public AstVisitor<BytecodeGenerator> { |
public: |
explicit BytecodeGenerator(CompilationInfo* info); |
Handle<BytecodeArray> MakeBytecode(); |
-#define DECLARE_VISIT(type) void Visit##type(type* node) override; |
+#define DECLARE_VISIT(type) void Visit##type(type* node); |
AST_NODE_LIST(DECLARE_VISIT) |
#undef DECLARE_VISIT |
// Visiting function for declarations list and statements are overridden. |
- void VisitDeclarations(ZoneList<Declaration*>* declarations) override; |
- void VisitStatements(ZoneList<Statement*>* statments) override; |
+ void VisitDeclarations(ZoneList<Declaration*>* declarations); |
+ void VisitStatements(ZoneList<Statement*>* statments); |
private: |
class ContextScope; |