Index: src/ast/variables.h |
diff --git a/src/ast/variables.h b/src/ast/variables.h |
index 261965f2c3d8be09188d06609d830c4c7e322785..e1ac44616e85e01de42025a18e754fabda9f373a 100644 |
--- a/src/ast/variables.h |
+++ b/src/ast/variables.h |
@@ -15,7 +15,7 @@ namespace internal { |
// variables. Variables themselves are never directly referred to from the AST, |
// they are maintained by scopes, and referred to from VariableProxies and Slots |
// after binding and variable allocation. |
-class Variable: public ZoneObject { |
+class Variable final : public ZoneObject { |
public: |
enum Kind { NORMAL, FUNCTION, THIS, ARGUMENTS }; |
@@ -23,8 +23,6 @@ class Variable: public ZoneObject { |
InitializationFlag initialization_flag, |
MaybeAssignedFlag maybe_assigned_flag = kNotAssigned); |
- virtual ~Variable() {} |
- |
// Printing support |
static const char* Mode2String(VariableMode mode); |