| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index d60659ba9b90588fa0ca18ff71b0de7f935dea33..1d8fdc1e20db3a93426759084264f6ebaff82179 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -51,9 +51,9 @@ class SafepointGenerator FINAL : public CallWrapper {
|
| deopt_mode_(mode) { }
|
| virtual ~SafepointGenerator() {}
|
|
|
| - virtual void BeforeCall(int call_size) const OVERRIDE {}
|
| + void BeforeCall(int call_size) const OVERRIDE {}
|
|
|
| - virtual void AfterCall() const OVERRIDE {
|
| + void AfterCall() const OVERRIDE {
|
| codegen_->RecordSafepoint(pointers_, deopt_mode_);
|
| }
|
|
|
| @@ -2695,10 +2695,10 @@ void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) {
|
| DeferredInstanceOfKnownGlobal(LCodeGen* codegen,
|
| LInstanceOfKnownGlobal* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| + void Generate() OVERRIDE {
|
| codegen()->DoDeferredInstanceOfKnownGlobal(instr_, &map_check_);
|
| }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| Label* map_check() { return &map_check_; }
|
|
|
| private:
|
| @@ -3677,10 +3677,11 @@ void LCodeGen::DoMathAbs(LMathAbs* instr) {
|
| public:
|
| DeferredMathAbsTaggedHeapNumber(LCodeGen* codegen, LMathAbs* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| + void Generate() OVERRIDE {
|
| codegen()->DoDeferredMathAbsTaggedHeapNumber(instr_);
|
| }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LMathAbs* instr_;
|
| };
|
| @@ -4493,10 +4494,9 @@ void LCodeGen::DoStringCharCodeAt(LStringCharCodeAt* instr) {
|
| public:
|
| DeferredStringCharCodeAt(LCodeGen* codegen, LStringCharCodeAt* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| - codegen()->DoDeferredStringCharCodeAt(instr_);
|
| - }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + void Generate() OVERRIDE { codegen()->DoDeferredStringCharCodeAt(instr_); }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LStringCharCodeAt* instr_;
|
| };
|
| @@ -4548,10 +4548,11 @@ void LCodeGen::DoStringCharFromCode(LStringCharFromCode* instr) {
|
| public:
|
| DeferredStringCharFromCode(LCodeGen* codegen, LStringCharFromCode* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| + void Generate() OVERRIDE {
|
| codegen()->DoDeferredStringCharFromCode(instr_);
|
| }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LStringCharFromCode* instr_;
|
| };
|
| @@ -4626,14 +4627,15 @@ void LCodeGen::DoNumberTagI(LNumberTagI* instr) {
|
| public:
|
| DeferredNumberTagI(LCodeGen* codegen, LNumberTagI* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| + void Generate() OVERRIDE {
|
| codegen()->DoDeferredNumberTagIU(instr_,
|
| instr_->value(),
|
| instr_->temp1(),
|
| instr_->temp2(),
|
| SIGNED_INT32);
|
| }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LNumberTagI* instr_;
|
| };
|
| @@ -4654,14 +4656,15 @@ void LCodeGen::DoNumberTagU(LNumberTagU* instr) {
|
| public:
|
| DeferredNumberTagU(LCodeGen* codegen, LNumberTagU* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| + void Generate() OVERRIDE {
|
| codegen()->DoDeferredNumberTagIU(instr_,
|
| instr_->value(),
|
| instr_->temp1(),
|
| instr_->temp2(),
|
| UNSIGNED_INT32);
|
| }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LNumberTagU* instr_;
|
| };
|
| @@ -4748,10 +4751,9 @@ void LCodeGen::DoNumberTagD(LNumberTagD* instr) {
|
| public:
|
| DeferredNumberTagD(LCodeGen* codegen, LNumberTagD* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| - codegen()->DoDeferredNumberTagD(instr_);
|
| - }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + void Generate() OVERRIDE { codegen()->DoDeferredNumberTagD(instr_); }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LNumberTagD* instr_;
|
| };
|
| @@ -4974,10 +4976,9 @@ void LCodeGen::DoTaggedToI(LTaggedToI* instr) {
|
| public:
|
| DeferredTaggedToI(LCodeGen* codegen, LTaggedToI* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| - codegen()->DoDeferredTaggedToI(instr_);
|
| - }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + void Generate() OVERRIDE { codegen()->DoDeferredTaggedToI(instr_); }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LTaggedToI* instr_;
|
| };
|
| @@ -5183,11 +5184,12 @@ void LCodeGen::DoCheckMaps(LCheckMaps* instr) {
|
| : LDeferredCode(codegen), instr_(instr), object_(object) {
|
| SetExit(check_maps());
|
| }
|
| - virtual void Generate() OVERRIDE {
|
| + void Generate() OVERRIDE {
|
| codegen()->DoDeferredInstanceMigration(instr_, object_);
|
| }
|
| Label* check_maps() { return &check_maps_; }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LCheckMaps* instr_;
|
| Label check_maps_;
|
| @@ -5306,10 +5308,9 @@ void LCodeGen::DoAllocate(LAllocate* instr) {
|
| public:
|
| DeferredAllocate(LCodeGen* codegen, LAllocate* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| - codegen()->DoDeferredAllocate(instr_);
|
| - }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + void Generate() OVERRIDE { codegen()->DoDeferredAllocate(instr_); }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LAllocate* instr_;
|
| };
|
| @@ -5719,10 +5720,9 @@ void LCodeGen::DoStackCheck(LStackCheck* instr) {
|
| public:
|
| DeferredStackCheck(LCodeGen* codegen, LStackCheck* instr)
|
| : LDeferredCode(codegen), instr_(instr) { }
|
| - virtual void Generate() OVERRIDE {
|
| - codegen()->DoDeferredStackCheck(instr_);
|
| - }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + void Generate() OVERRIDE { codegen()->DoDeferredStackCheck(instr_); }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LStackCheck* instr_;
|
| };
|
| @@ -5870,10 +5870,11 @@ void LCodeGen::DoLoadFieldByIndex(LLoadFieldByIndex* instr) {
|
| object_(object),
|
| index_(index) {
|
| }
|
| - virtual void Generate() OVERRIDE {
|
| + void Generate() OVERRIDE {
|
| codegen()->DoDeferredLoadMutableDouble(instr_, result_, object_, index_);
|
| }
|
| - virtual LInstruction* instr() OVERRIDE { return instr_; }
|
| + LInstruction* instr() OVERRIDE { return instr_; }
|
| +
|
| private:
|
| LLoadFieldByIndex* instr_;
|
| Register result_;
|
|
|