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

Unified Diff: src/compiler/typer.cc

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/source-position.cc ('k') | src/compiler/value-numbering-reducer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index ce6a1a156c17b3130647bca4d941283a58308f87..bcf315dddd3849a1c6ac4b817dc0c1a66134e50d 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -42,7 +42,7 @@ enum LazyCachedType {
// Constructs and caches types lazily.
// TODO(turbofan): these types could be globally cached or cached per isolate.
-class LazyTypeCache FINAL : public ZoneObject {
+class LazyTypeCache final : public ZoneObject {
public:
explicit LazyTypeCache(Isolate* isolate, Zone* zone)
: isolate_(isolate), zone_(zone) {
@@ -141,10 +141,10 @@ class LazyTypeCache FINAL : public ZoneObject {
};
-class Typer::Decorator FINAL : public GraphDecorator {
+class Typer::Decorator final : public GraphDecorator {
public:
explicit Decorator(Typer* typer) : typer_(typer) {}
- void Decorate(Node* node, bool incomplete) FINAL;
+ void Decorate(Node* node, bool incomplete) final;
private:
Typer* typer_;
@@ -215,7 +215,7 @@ class Typer::Visitor : public Reducer {
explicit Visitor(Typer* typer)
: typer_(typer), weakened_nodes_(typer->zone()) {}
- Reduction Reduce(Node* node) OVERRIDE {
+ Reduction Reduce(Node* node) override {
if (node->op()->ValueOutputCount() == 0) return NoChange();
switch (node->opcode()) {
#define DECLARE_CASE(x) \
« no previous file with comments | « src/compiler/source-position.cc ('k') | src/compiler/value-numbering-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698