Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index a70155367d2468ddca23b37d825a238d10a679e6..1aee565feb3acfd2aa5058aeecc464a45c8dc521 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -23,7 +23,7 @@ namespace internal { |
// When invoking builtins, we need to record the safepoint in the middle of |
// the invoke instruction sequence generated by the macro assembler. |
-class SafepointGenerator FINAL : public CallWrapper { |
+class SafepointGenerator final : public CallWrapper { |
public: |
SafepointGenerator(LCodeGen* codegen, |
LPointerMap* pointers, |
@@ -33,9 +33,9 @@ class SafepointGenerator FINAL : public CallWrapper { |
deopt_mode_(mode) {} |
virtual ~SafepointGenerator() {} |
- void BeforeCall(int call_size) const OVERRIDE {} |
+ void BeforeCall(int call_size) const override {} |
- void AfterCall() const OVERRIDE { |
+ void AfterCall() const override { |
codegen_->RecordSafepoint(pointers_, deopt_mode_); |
} |
@@ -2946,16 +2946,16 @@ void LCodeGen::DoInstanceOf(LInstanceOf* instr) { |
void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) { |
- class DeferredInstanceOfKnownGlobal FINAL : public LDeferredCode { |
+ class DeferredInstanceOfKnownGlobal final : public LDeferredCode { |
public: |
DeferredInstanceOfKnownGlobal(LCodeGen* codegen, |
LInstanceOfKnownGlobal* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { |
+ void Generate() override { |
codegen()->DoDeferredInstanceOfKnownGlobal(instr_, &map_check_); |
} |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ LInstruction* instr() override { return instr_; } |
Label* map_check() { return &map_check_; } |
private: |
LInstanceOfKnownGlobal* instr_; |
@@ -3878,16 +3878,16 @@ void LCodeGen::EmitIntegerMathAbs(LMathAbs* instr) { |
void LCodeGen::DoMathAbs(LMathAbs* instr) { |
// Class for deferred case. |
- class DeferredMathAbsTaggedHeapNumber FINAL : public LDeferredCode { |
+ class DeferredMathAbsTaggedHeapNumber final : public LDeferredCode { |
public: |
DeferredMathAbsTaggedHeapNumber(LCodeGen* codegen, |
LMathAbs* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { |
+ void Generate() override { |
codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); |
} |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ LInstruction* instr() override { return instr_; } |
private: |
LMathAbs* instr_; |
@@ -4836,14 +4836,14 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) { |
- class DeferredStringCharCodeAt FINAL : public LDeferredCode { |
+ class DeferredStringCharCodeAt final : public LDeferredCode { |
public: |
DeferredStringCharCodeAt(LCodeGen* codegen, |
LStringCharCodeAt* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { codegen()->DoDeferredStringCharCodeAt(instr_); } |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ void Generate() override { codegen()->DoDeferredStringCharCodeAt(instr_); } |
+ LInstruction* instr() override { return instr_; } |
private: |
LStringCharCodeAt* instr_; |
@@ -4894,16 +4894,16 @@ void LCodeGen::DoDeferredStringCharCodeAt(LStringCharCodeAt* instr) { |
void LCodeGen::DoStringCharFromCode(LStringCharFromCode* instr) { |
- class DeferredStringCharFromCode FINAL : public LDeferredCode { |
+ class DeferredStringCharFromCode final : public LDeferredCode { |
public: |
DeferredStringCharFromCode(LCodeGen* codegen, |
LStringCharFromCode* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { |
+ void Generate() override { |
codegen()->DoDeferredStringCharFromCode(instr_); |
} |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ LInstruction* instr() override { return instr_; } |
private: |
LStringCharFromCode* instr_; |
@@ -4984,17 +4984,17 @@ void LCodeGen::DoUint32ToDouble(LUint32ToDouble* instr) { |
void LCodeGen::DoNumberTagI(LNumberTagI* instr) { |
- class DeferredNumberTagI FINAL : public LDeferredCode { |
+ class DeferredNumberTagI final : public LDeferredCode { |
public: |
DeferredNumberTagI(LCodeGen* codegen, |
LNumberTagI* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { |
+ void Generate() override { |
codegen()->DoDeferredNumberTagIU(instr_, instr_->value(), instr_->temp(), |
SIGNED_INT32); |
} |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ LInstruction* instr() override { return instr_; } |
private: |
LNumberTagI* instr_; |
@@ -5013,17 +5013,17 @@ void LCodeGen::DoNumberTagI(LNumberTagI* instr) { |
void LCodeGen::DoNumberTagU(LNumberTagU* instr) { |
- class DeferredNumberTagU FINAL : public LDeferredCode { |
+ class DeferredNumberTagU final : public LDeferredCode { |
public: |
DeferredNumberTagU(LCodeGen* codegen, |
LNumberTagU* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { |
+ void Generate() override { |
codegen()->DoDeferredNumberTagIU(instr_, instr_->value(), instr_->temp(), |
UNSIGNED_INT32); |
} |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ LInstruction* instr() override { return instr_; } |
private: |
LNumberTagU* instr_; |
@@ -5103,14 +5103,14 @@ void LCodeGen::DoDeferredNumberTagIU(LInstruction* instr, |
void LCodeGen::DoNumberTagD(LNumberTagD* instr) { |
- class DeferredNumberTagD FINAL : public LDeferredCode { |
+ class DeferredNumberTagD final : public LDeferredCode { |
public: |
DeferredNumberTagD(LCodeGen* codegen, |
LNumberTagD* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { codegen()->DoDeferredNumberTagD(instr_); } |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ void Generate() override { codegen()->DoDeferredNumberTagD(instr_); } |
+ LInstruction* instr() override { return instr_; } |
private: |
LNumberTagD* instr_; |
@@ -5350,14 +5350,14 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr, Label* done) { |
void LCodeGen::DoTaggedToI(LTaggedToI* instr) { |
- class DeferredTaggedToI FINAL : public LDeferredCode { |
+ class DeferredTaggedToI final : public LDeferredCode { |
public: |
DeferredTaggedToI(LCodeGen* codegen, |
LTaggedToI* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { codegen()->DoDeferredTaggedToI(instr_, done()); } |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ void Generate() override { codegen()->DoDeferredTaggedToI(instr_, done()); } |
+ LInstruction* instr() override { return instr_; } |
private: |
LTaggedToI* instr_; |
@@ -5551,7 +5551,7 @@ void LCodeGen::DoDeferredInstanceMigration(LCheckMaps* instr, Register object) { |
void LCodeGen::DoCheckMaps(LCheckMaps* instr) { |
- class DeferredCheckMaps FINAL : public LDeferredCode { |
+ class DeferredCheckMaps final : public LDeferredCode { |
public: |
DeferredCheckMaps(LCodeGen* codegen, |
LCheckMaps* instr, |
@@ -5560,11 +5560,11 @@ void LCodeGen::DoCheckMaps(LCheckMaps* instr) { |
: LDeferredCode(codegen, x87_stack), instr_(instr), object_(object) { |
SetExit(check_maps()); |
} |
- void Generate() OVERRIDE { |
+ void Generate() override { |
codegen()->DoDeferredInstanceMigration(instr_, object_); |
} |
Label* check_maps() { return &check_maps_; } |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ LInstruction* instr() override { return instr_; } |
private: |
LCheckMaps* instr_; |
@@ -5778,14 +5778,14 @@ void LCodeGen::DoConstructDouble(LConstructDouble* instr) { |
void LCodeGen::DoAllocate(LAllocate* instr) { |
- class DeferredAllocate FINAL : public LDeferredCode { |
+ class DeferredAllocate final : public LDeferredCode { |
public: |
DeferredAllocate(LCodeGen* codegen, |
LAllocate* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { codegen()->DoDeferredAllocate(instr_); } |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ void Generate() override { codegen()->DoDeferredAllocate(instr_); } |
+ LInstruction* instr() override { return instr_; } |
private: |
LAllocate* instr_; |
@@ -6138,14 +6138,14 @@ void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
void LCodeGen::DoStackCheck(LStackCheck* instr) { |
- class DeferredStackCheck FINAL : public LDeferredCode { |
+ class DeferredStackCheck final : public LDeferredCode { |
public: |
DeferredStackCheck(LCodeGen* codegen, |
LStackCheck* instr, |
const X87Stack& x87_stack) |
: LDeferredCode(codegen, x87_stack), instr_(instr) { } |
- void Generate() OVERRIDE { codegen()->DoDeferredStackCheck(instr_); } |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ void Generate() override { codegen()->DoDeferredStackCheck(instr_); } |
+ LInstruction* instr() override { return instr_; } |
private: |
LStackCheck* instr_; |
@@ -6276,7 +6276,7 @@ void LCodeGen::DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, |
void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) { |
- class DeferredLoadMutableDouble FINAL : public LDeferredCode { |
+ class DeferredLoadMutableDouble final : public LDeferredCode { |
public: |
DeferredLoadMutableDouble(LCodeGen* codegen, |
LLoadFieldByIndex* instr, |
@@ -6288,10 +6288,10 @@ void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) { |
object_(object), |
index_(index) { |
} |
- void Generate() OVERRIDE { |
+ void Generate() override { |
codegen()->DoDeferredLoadMutableDouble(instr_, object_, index_); |
} |
- LInstruction* instr() OVERRIDE { return instr_; } |
+ LInstruction* instr() override { return instr_; } |
private: |
LLoadFieldByIndex* instr_; |