Index: src/compiler/ast-loop-assignment-analyzer.h |
diff --git a/src/compiler/ast-loop-assignment-analyzer.h b/src/compiler/ast-loop-assignment-analyzer.h |
index a4a4609757b080f89fad8e94a5d0324c59247a0f..57062edabd7b7fe0f287cacc8d6a1d2c6bae61d0 100644 |
--- a/src/compiler/ast-loop-assignment-analyzer.h |
+++ b/src/compiler/ast-loop-assignment-analyzer.h |
@@ -40,13 +40,14 @@ class LoopAssignmentAnalysis : public ZoneObject { |
// The class that performs loop assignment analysis by walking the AST. |
-class AstLoopAssignmentAnalyzer : public AstVisitor { |
+class AstLoopAssignmentAnalyzer final |
+ : public AstVisitor<AstLoopAssignmentAnalyzer> { |
public: |
AstLoopAssignmentAnalyzer(Zone* zone, CompilationInfo* info); |
LoopAssignmentAnalysis* Analyze(); |
-#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 |