Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index aa56d7298e6900d00241bfceaf808076f6a0e2a1..7dd7fd93c30227a5679fb4005e6c241823f69091 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -36,7 +36,7 @@ namespace v8 { |
namespace internal { |
-class SafepointGenerator V8_FINAL : public CallWrapper { |
+class SafepointGenerator : public CallWrapper { |
public: |
SafepointGenerator(LCodeGen* codegen, |
LPointerMap* pointers, |
@@ -44,11 +44,11 @@ class SafepointGenerator V8_FINAL : public CallWrapper { |
: codegen_(codegen), |
pointers_(pointers), |
deopt_mode_(mode) { } |
- virtual ~SafepointGenerator() {} |
+ virtual ~SafepointGenerator() { } |
- virtual void BeforeCall(int call_size) const V8_OVERRIDE {} |
+ virtual void BeforeCall(int call_size) const { } |
- virtual void AfterCall() const V8_OVERRIDE { |
+ virtual void AfterCall() const { |
codegen_->RecordSafepoint(pointers_, deopt_mode_); |
} |
@@ -2605,15 +2605,15 @@ void LCodeGen::DoInstanceOf(LInstanceOf* instr) { |
void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) { |
- class DeferredInstanceOfKnownGlobal V8_FINAL : public LDeferredCode { |
+ class DeferredInstanceOfKnownGlobal: public LDeferredCode { |
public: |
DeferredInstanceOfKnownGlobal(LCodeGen* codegen, |
LInstanceOfKnownGlobal* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
+ virtual void Generate() { |
codegen()->DoDeferredInstanceOfKnownGlobal(instr_, &map_check_); |
} |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual LInstruction* instr() { return instr_; } |
Label* map_check() { return &map_check_; } |
private: |
@@ -3599,14 +3599,14 @@ void LCodeGen::EmitIntegerMathAbs(LMathAbs* instr) { |
void LCodeGen::DoMathAbs(LMathAbs* instr) { |
// Class for deferred case. |
- class DeferredMathAbsTaggedHeapNumber V8_FINAL : public LDeferredCode { |
+ class DeferredMathAbsTaggedHeapNumber: public LDeferredCode { |
public: |
DeferredMathAbsTaggedHeapNumber(LCodeGen* codegen, LMathAbs* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
+ virtual void Generate() { |
codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_); |
} |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LMathAbs* instr_; |
}; |
@@ -3801,12 +3801,12 @@ void LCodeGen::DoPower(LPower* instr) { |
void LCodeGen::DoRandom(LRandom* instr) { |
- class DeferredDoRandom V8_FINAL : public LDeferredCode { |
+ class DeferredDoRandom: public LDeferredCode { |
public: |
DeferredDoRandom(LCodeGen* codegen, LRandom* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { codegen()->DoDeferredRandom(instr_); } |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual void Generate() { codegen()->DoDeferredRandom(instr_); } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LRandom* instr_; |
}; |
@@ -4461,14 +4461,12 @@ void LCodeGen::DoStringAdd(LStringAdd* instr) { |
void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) { |
- class DeferredStringCharCodeAt V8_FINAL : public LDeferredCode { |
+ class DeferredStringCharCodeAt: public LDeferredCode { |
public: |
DeferredStringCharCodeAt(LCodeGen* codegen, LStringCharCodeAt* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
- codegen()->DoDeferredStringCharCodeAt(instr_); |
- } |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual void Generate() { codegen()->DoDeferredStringCharCodeAt(instr_); } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LStringCharCodeAt* instr_; |
}; |
@@ -4515,14 +4513,12 @@ void LCodeGen::DoDeferredStringCharCodeAt(LStringCharCodeAt* instr) { |
void LCodeGen::DoStringCharFromCode(LStringCharFromCode* instr) { |
- class DeferredStringCharFromCode V8_FINAL : public LDeferredCode { |
+ class DeferredStringCharFromCode: public LDeferredCode { |
public: |
DeferredStringCharFromCode(LCodeGen* codegen, LStringCharFromCode* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
- codegen()->DoDeferredStringCharFromCode(instr_); |
- } |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual void Generate() { codegen()->DoDeferredStringCharFromCode(instr_); } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LStringCharFromCode* instr_; |
}; |
@@ -4608,16 +4604,16 @@ void LCodeGen::DoUint32ToDouble(LUint32ToDouble* instr) { |
void LCodeGen::DoNumberTagI(LNumberTagI* instr) { |
- class DeferredNumberTagI V8_FINAL : public LDeferredCode { |
+ class DeferredNumberTagI: public LDeferredCode { |
public: |
DeferredNumberTagI(LCodeGen* codegen, LNumberTagI* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
+ virtual void Generate() { |
codegen()->DoDeferredNumberTagI(instr_, |
instr_->value(), |
SIGNED_INT32); |
} |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LNumberTagI* instr_; |
}; |
@@ -4634,16 +4630,16 @@ void LCodeGen::DoNumberTagI(LNumberTagI* instr) { |
void LCodeGen::DoNumberTagU(LNumberTagU* instr) { |
- class DeferredNumberTagU V8_FINAL : public LDeferredCode { |
+ class DeferredNumberTagU: public LDeferredCode { |
public: |
DeferredNumberTagU(LCodeGen* codegen, LNumberTagU* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
+ virtual void Generate() { |
codegen()->DoDeferredNumberTagI(instr_, |
instr_->value(), |
UNSIGNED_INT32); |
} |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LNumberTagU* instr_; |
}; |
@@ -4714,14 +4710,12 @@ void LCodeGen::DoDeferredNumberTagI(LInstruction* instr, |
void LCodeGen::DoNumberTagD(LNumberTagD* instr) { |
- class DeferredNumberTagD V8_FINAL : public LDeferredCode { |
+ class DeferredNumberTagD: public LDeferredCode { |
public: |
DeferredNumberTagD(LCodeGen* codegen, LNumberTagD* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
- codegen()->DoDeferredNumberTagD(instr_); |
- } |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual void Generate() { codegen()->DoDeferredNumberTagD(instr_); } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LNumberTagD* instr_; |
}; |
@@ -4920,14 +4914,12 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) { |
void LCodeGen::DoTaggedToI(LTaggedToI* instr) { |
- class DeferredTaggedToI V8_FINAL : public LDeferredCode { |
+ class DeferredTaggedToI: public LDeferredCode { |
public: |
DeferredTaggedToI(LCodeGen* codegen, LTaggedToI* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
- codegen()->DoDeferredTaggedToI(instr_); |
- } |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual void Generate() { codegen()->DoDeferredTaggedToI(instr_); } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LTaggedToI* instr_; |
}; |
@@ -5140,17 +5132,17 @@ void LCodeGen::DoDeferredInstanceMigration(LCheckMaps* instr, Register object) { |
void LCodeGen::DoCheckMaps(LCheckMaps* instr) { |
- class DeferredCheckMaps V8_FINAL : public LDeferredCode { |
+ class DeferredCheckMaps: public LDeferredCode { |
public: |
DeferredCheckMaps(LCodeGen* codegen, LCheckMaps* instr, Register object) |
: LDeferredCode(codegen), instr_(instr), object_(object) { |
SetExit(check_maps()); |
} |
- virtual void Generate() V8_OVERRIDE { |
+ virtual void Generate() { |
codegen()->DoDeferredInstanceMigration(instr_, object_); |
} |
Label* check_maps() { return &check_maps_; } |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LCheckMaps* instr_; |
Label check_maps_; |
@@ -5239,14 +5231,12 @@ void LCodeGen::DoClampTToUint8(LClampTToUint8* instr) { |
void LCodeGen::DoAllocate(LAllocate* instr) { |
- class DeferredAllocate V8_FINAL : public LDeferredCode { |
+ class DeferredAllocate: public LDeferredCode { |
public: |
DeferredAllocate(LCodeGen* codegen, LAllocate* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
- codegen()->DoDeferredAllocate(instr_); |
- } |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual void Generate() { codegen()->DoDeferredAllocate(instr_); } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LAllocate* instr_; |
}; |
@@ -5643,14 +5633,12 @@ void LCodeGen::DoDeferredStackCheck(LStackCheck* instr) { |
void LCodeGen::DoStackCheck(LStackCheck* instr) { |
- class DeferredStackCheck V8_FINAL : public LDeferredCode { |
+ class DeferredStackCheck: public LDeferredCode { |
public: |
DeferredStackCheck(LCodeGen* codegen, LStackCheck* instr) |
: LDeferredCode(codegen), instr_(instr) { } |
- virtual void Generate() V8_OVERRIDE { |
- codegen()->DoDeferredStackCheck(instr_); |
- } |
- virtual LInstruction* instr() V8_OVERRIDE { return instr_; } |
+ virtual void Generate() { codegen()->DoDeferredStackCheck(instr_); } |
+ virtual LInstruction* instr() { return instr_; } |
private: |
LStackCheck* instr_; |
}; |