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

Unified Diff: src/lithium.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/libplatform/worker-thread.h ('k') | src/lookup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lithium.h
diff --git a/src/lithium.h b/src/lithium.h
index 991bcf034b7d6e06ef38a2898957c9466cdf90f0..895b194e35839e63f1265a38ac230e7585102c7b 100644
--- a/src/lithium.h
+++ b/src/lithium.h
@@ -255,7 +255,7 @@ class LUnallocated : public LOperand {
};
-class LMoveOperands FINAL BASE_EMBEDDED {
+class LMoveOperands final BASE_EMBEDDED {
public:
LMoveOperands(LOperand* source, LOperand* destination)
: source_(source), destination_(destination) {
@@ -302,8 +302,8 @@ class LMoveOperands FINAL BASE_EMBEDDED {
};
-template<LOperand::Kind kOperandKind, int kNumCachedOperands>
-class LSubKindOperand FINAL : public LOperand {
+template <LOperand::Kind kOperandKind, int kNumCachedOperands>
+class LSubKindOperand final : public LOperand {
public:
static LSubKindOperand* Create(int index, Zone* zone) {
DCHECK(index >= 0);
@@ -333,7 +333,7 @@ LITHIUM_OPERAND_LIST(LITHIUM_TYPEDEF_SUBKIND_OPERAND_CLASS)
#undef LITHIUM_TYPEDEF_SUBKIND_OPERAND_CLASS
-class LParallelMove FINAL : public ZoneObject {
+class LParallelMove final : public ZoneObject {
public:
explicit LParallelMove(Zone* zone) : move_operands_(4, zone) { }
@@ -352,7 +352,7 @@ class LParallelMove FINAL : public ZoneObject {
};
-class LPointerMap FINAL : public ZoneObject {
+class LPointerMap final : public ZoneObject {
public:
explicit LPointerMap(Zone* zone)
: pointer_operands_(8, zone),
@@ -385,7 +385,7 @@ class LPointerMap FINAL : public ZoneObject {
};
-class LEnvironment FINAL : public ZoneObject {
+class LEnvironment final : public ZoneObject {
public:
LEnvironment(Handle<JSFunction> closure,
FrameType frame_type,
@@ -535,7 +535,7 @@ class LEnvironment FINAL : public ZoneObject {
// Iterates over the non-null, non-constant operands in an environment.
-class ShallowIterator FINAL BASE_EMBEDDED {
+class ShallowIterator final BASE_EMBEDDED {
public:
explicit ShallowIterator(LEnvironment* env)
: env_(env),
@@ -579,7 +579,7 @@ class ShallowIterator FINAL BASE_EMBEDDED {
// Iterator for non-null, non-constant operands incl. outer environments.
-class DeepIterator FINAL BASE_EMBEDDED {
+class DeepIterator final BASE_EMBEDDED {
public:
explicit DeepIterator(LEnvironment* env)
: current_iterator_(env) {
« no previous file with comments | « src/libplatform/worker-thread.h ('k') | src/lookup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698