Index: src/crankshaft/typing.h |
diff --git a/src/crankshaft/typing.h b/src/crankshaft/typing.h |
index 27b6809a1c5f2cf11606ae1ae78e0d46c9f6ccdd..c03ee2d995698e8f181b71839f587f21934e5043 100644 |
--- a/src/crankshaft/typing.h |
+++ b/src/crankshaft/typing.h |
@@ -17,7 +17,7 @@ |
namespace v8 { |
namespace internal { |
-class AstTyper: public AstVisitor { |
+class AstTyper final : public AstVisitor<AstTyper> { |
public: |
AstTyper(Isolate* isolate, Zone* zone, Handle<JSFunction> closure, |
Scope* scope, BailoutId osr_ast_id, FunctionLiteral* root, |
@@ -71,10 +71,10 @@ class AstTyper: public AstVisitor { |
var->IsParameter() ? parameter_index(var->index()) : kNoVar; |
} |
- void VisitDeclarations(ZoneList<Declaration*>* declarations) override; |
- void VisitStatements(ZoneList<Statement*>* statements) override; |
+ void VisitDeclarations(ZoneList<Declaration*>* declarations); |
+ void VisitStatements(ZoneList<Statement*>* statements); |
-#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 |