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

Unified Diff: src/mips/lithium-codegen-mips.cc

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/mips/lithium-codegen-mips.h ('k') | src/mips/lithium-gap-resolver-mips.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips/lithium-codegen-mips.cc
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
index e101bb437dcf3a5e06e37dd712f6733b3471c7bb..5c0fa9106afbcdfe79c78ad2fb92aaa67fc15b4b 100644
--- a/src/mips/lithium-codegen-mips.cc
+++ b/src/mips/lithium-codegen-mips.cc
@@ -42,7 +42,7 @@ namespace v8 {
namespace internal {
-class SafepointGenerator FINAL : public CallWrapper {
+class SafepointGenerator final : public CallWrapper {
public:
SafepointGenerator(LCodeGen* codegen,
LPointerMap* pointers,
@@ -52,9 +52,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_);
}
@@ -2719,15 +2719,15 @@ 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)
: LDeferredCode(codegen), 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:
@@ -3669,14 +3669,14 @@ 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)
: LDeferredCode(codegen), instr_(instr) { }
- void Generate() OVERRIDE {
+ void Generate() override {
codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_);
}
- LInstruction* instr() OVERRIDE { return instr_; }
+ LInstruction* instr() override { return instr_; }
private:
LMathAbs* instr_;
@@ -4529,12 +4529,12 @@ void LCodeGen::DoStringAdd(LStringAdd* instr) {
void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
- class DeferredStringCharCodeAt FINAL : public LDeferredCode {
+ class DeferredStringCharCodeAt final : public LDeferredCode {
public:
DeferredStringCharCodeAt(LCodeGen* codegen, LStringCharCodeAt* instr)
: LDeferredCode(codegen), 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_;
@@ -4583,14 +4583,14 @@ 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)
: LDeferredCode(codegen), instr_(instr) { }
- void Generate() OVERRIDE {
+ void Generate() override {
codegen()->DoDeferredStringCharFromCode(instr_);
}
- LInstruction* instr() OVERRIDE { return instr_; }
+ LInstruction* instr() override { return instr_; }
private:
LStringCharFromCode* instr_;
@@ -4662,18 +4662,18 @@ 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)
: LDeferredCode(codegen), instr_(instr) { }
- void Generate() OVERRIDE {
+ void Generate() override {
codegen()->DoDeferredNumberTagIU(instr_,
instr_->value(),
instr_->temp1(),
instr_->temp2(),
SIGNED_INT32);
}
- LInstruction* instr() OVERRIDE { return instr_; }
+ LInstruction* instr() override { return instr_; }
private:
LNumberTagI* instr_;
@@ -4691,18 +4691,18 @@ 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)
: LDeferredCode(codegen), instr_(instr) { }
- void Generate() OVERRIDE {
+ void Generate() override {
codegen()->DoDeferredNumberTagIU(instr_,
instr_->value(),
instr_->temp1(),
instr_->temp2(),
UNSIGNED_INT32);
}
- LInstruction* instr() OVERRIDE { return instr_; }
+ LInstruction* instr() override { return instr_; }
private:
LNumberTagU* instr_;
@@ -4786,12 +4786,12 @@ 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)
: LDeferredCode(codegen), 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_;
@@ -5014,12 +5014,12 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) {
void LCodeGen::DoTaggedToI(LTaggedToI* instr) {
- class DeferredTaggedToI FINAL : public LDeferredCode {
+ class DeferredTaggedToI final : public LDeferredCode {
public:
DeferredTaggedToI(LCodeGen* codegen, LTaggedToI* instr)
: LDeferredCode(codegen), instr_(instr) { }
- void Generate() OVERRIDE { codegen()->DoDeferredTaggedToI(instr_); }
- LInstruction* instr() OVERRIDE { return instr_; }
+ void Generate() override { codegen()->DoDeferredTaggedToI(instr_); }
+ LInstruction* instr() override { return instr_; }
private:
LTaggedToI* instr_;
@@ -5227,17 +5227,17 @@ 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, Register object)
: LDeferredCode(codegen), 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_;
@@ -5353,12 +5353,12 @@ 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)
: LDeferredCode(codegen), 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_;
@@ -5757,12 +5757,12 @@ 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)
: LDeferredCode(codegen), 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_;
@@ -5893,7 +5893,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,
@@ -5906,10 +5906,10 @@ void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) {
object_(object),
index_(index) {
}
- void Generate() OVERRIDE {
+ void Generate() override {
codegen()->DoDeferredLoadMutableDouble(instr_, result_, object_, index_);
}
- LInstruction* instr() OVERRIDE { return instr_; }
+ LInstruction* instr() override { return instr_; }
private:
LLoadFieldByIndex* instr_;
« no previous file with comments | « src/mips/lithium-codegen-mips.h ('k') | src/mips/lithium-gap-resolver-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698