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

Unified Diff: src/compiler/control-builders.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/common-operator-reducer.h ('k') | src/compiler/control-equivalence.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/control-builders.h
diff --git a/src/compiler/control-builders.h b/src/compiler/control-builders.h
index 59970563fba45b99c69eaccd4908ce35c64532c8..c85714ea10877afece48677d09b82284bbcdc994 100644
--- a/src/compiler/control-builders.h
+++ b/src/compiler/control-builders.h
@@ -37,7 +37,7 @@ class ControlBuilder {
// Tracks control flow for a conditional statement.
-class IfBuilder FINAL : public ControlBuilder {
+class IfBuilder final : public ControlBuilder {
public:
explicit IfBuilder(AstGraphBuilder* builder)
: ControlBuilder(builder),
@@ -57,7 +57,7 @@ class IfBuilder FINAL : public ControlBuilder {
// Tracks control flow for an iteration statement.
-class LoopBuilder FINAL : public ControlBuilder {
+class LoopBuilder final : public ControlBuilder {
public:
explicit LoopBuilder(AstGraphBuilder* builder)
: ControlBuilder(builder),
@@ -72,7 +72,7 @@ class LoopBuilder FINAL : public ControlBuilder {
void EndLoop();
// Primitive support for break.
- void Break() FINAL;
+ void Break() final;
// Compound control commands for conditional break.
void BreakUnless(Node* condition);
@@ -86,7 +86,7 @@ class LoopBuilder FINAL : public ControlBuilder {
// Tracks control flow for a switch statement.
-class SwitchBuilder FINAL : public ControlBuilder {
+class SwitchBuilder final : public ControlBuilder {
public:
explicit SwitchBuilder(AstGraphBuilder* builder, int case_count)
: ControlBuilder(builder),
@@ -105,7 +105,7 @@ class SwitchBuilder FINAL : public ControlBuilder {
void EndSwitch();
// Primitive support for break.
- void Break() FINAL;
+ void Break() final;
// The number of cases within a switch is statically known.
size_t case_count() const { return body_environments_.size(); }
@@ -119,7 +119,7 @@ class SwitchBuilder FINAL : public ControlBuilder {
// Tracks control flow for a block statement.
-class BlockBuilder FINAL : public ControlBuilder {
+class BlockBuilder final : public ControlBuilder {
public:
explicit BlockBuilder(AstGraphBuilder* builder)
: ControlBuilder(builder), break_environment_(NULL) {}
@@ -129,7 +129,7 @@ class BlockBuilder FINAL : public ControlBuilder {
void EndBlock();
// Primitive support for break.
- void Break() FINAL;
+ void Break() final;
private:
Environment* break_environment_; // Environment after the block exits.
@@ -137,7 +137,7 @@ class BlockBuilder FINAL : public ControlBuilder {
// Tracks control flow for a try-catch statement.
-class TryCatchBuilder FINAL : public ControlBuilder {
+class TryCatchBuilder final : public ControlBuilder {
public:
explicit TryCatchBuilder(AstGraphBuilder* builder)
: ControlBuilder(builder),
@@ -162,7 +162,7 @@ class TryCatchBuilder FINAL : public ControlBuilder {
// Tracks control flow for a try-finally statement.
-class TryFinallyBuilder FINAL : public ControlBuilder {
+class TryFinallyBuilder final : public ControlBuilder {
public:
explicit TryFinallyBuilder(AstGraphBuilder* builder)
: ControlBuilder(builder),
« no previous file with comments | « src/compiler/common-operator-reducer.h ('k') | src/compiler/control-equivalence.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698