Index: src/hydrogen-gvn.h |
diff --git a/src/hydrogen-gvn.h b/src/hydrogen-gvn.h |
index 542bc8a52bc7f185353bb5489cbec5ed36ad5c57..fc7f27368e24b192750036d04897ce6d6c3befeb 100644 |
--- a/src/hydrogen-gvn.h |
+++ b/src/hydrogen-gvn.h |
@@ -18,7 +18,7 @@ namespace internal { |
// which can be used to represent side effects that cannot be expressed using |
// the GVNFlags of an HInstruction. These special side effects are tracked by a |
// SideEffectsTracker (see below). |
-class SideEffects FINAL { |
+class SideEffects final { |
public: |
static const int kNumberOfSpecials = 64 - kNumberOfFlags; |
@@ -62,7 +62,7 @@ struct TrackedEffects; |
// SideEffects class (see above). This way unrelated global variable/inobject |
// field stores don't prevent hoisting and merging of global variable/inobject |
// field loads. |
-class SideEffectsTracker FINAL BASE_EMBEDDED { |
+class SideEffectsTracker final BASE_EMBEDDED { |
public: |
SideEffectsTracker() : num_global_vars_(0), num_inobject_fields_(0) {} |
SideEffects ComputeChanges(HInstruction* instr); |
@@ -110,7 +110,7 @@ std::ostream& operator<<(std::ostream& os, const TrackedEffects& f); |
// Perform common subexpression elimination and loop-invariant code motion. |
-class HGlobalValueNumberingPhase FINAL : public HPhase { |
+class HGlobalValueNumberingPhase final : public HPhase { |
public: |
explicit HGlobalValueNumberingPhase(HGraph* graph); |