Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: src/compiler/operator.h

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/node-properties.h ('k') | src/compiler/operator-properties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/operator.h
diff --git a/src/compiler/operator.h b/src/compiler/operator.h
index ec365fab6f963bcce60a023f4674d3fefbd2efbb..5b15b9728916dc76aaeea209e0cdefcdf6e511f4 100644
--- a/src/compiler/operator.h
+++ b/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);
}
« no previous file with comments | « src/compiler/node-properties.h ('k') | src/compiler/operator-properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698