summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/operator.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/operator.h')
-rw-r--r--deps/v8/src/compiler/operator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/operator.h b/deps/v8/src/compiler/operator.h
index 3239eb0269..e47441208f 100644
--- a/deps/v8/src/compiler/operator.h
+++ b/deps/v8/src/compiler/operator.h
@@ -68,6 +68,8 @@ class V8_EXPORT_PRIVATE Operator : public NON_EXPORTED_BASE(ZoneObject) {
Operator(const Operator&) = delete;
Operator& operator=(const Operator&) = delete;
+ virtual ~Operator() = default;
+
// A small integer unique to all instances of a particular kind of operator,
// useful for quick matching for specific kinds of operators. For fast access
// the opcode is stored directly in the operator object.