diff options
Diffstat (limited to 'deps/v8/src/compiler/operator.h')
-rw-r--r-- | deps/v8/src/compiler/operator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/compiler/operator.h b/deps/v8/src/compiler/operator.h index ec365fab6f..5b15b97289 100644 --- a/deps/v8/src/compiler/operator.h +++ b/deps/v8/src/compiler/operator.h @@ -153,12 +153,12 @@ class Operator1 : public Operator { T const& parameter() const { return parameter_; } - bool Equals(const Operator* other) const FINAL { + bool Equals(const Operator* other) const final { if (opcode() != other->opcode()) return false; const Operator1<T>* that = reinterpret_cast<const Operator1<T>*>(other); return this->pred_(this->parameter(), that->parameter()); } - size_t HashCode() const FINAL { + size_t HashCode() const final { return base::hash_combine(this->opcode(), this->hash_(this->parameter())); } virtual void PrintParameter(std::ostream& os) const { @@ -166,7 +166,7 @@ class Operator1 : public Operator { } protected: - void PrintTo(std::ostream& os) const FINAL { + void PrintTo(std::ostream& os) const final { os << mnemonic(); PrintParameter(os); } |