| Index: src/mips/code-stubs-mips.h
|
| diff --git a/src/mips/code-stubs-mips.h b/src/mips/code-stubs-mips.h
|
| index ae653839564b922bd1275ec1d2c7cb485f8c9de6..125de1cd8f073e32f6e608f555d473acbe33b542 100644
|
| --- a/src/mips/code-stubs-mips.h
|
| +++ b/src/mips/code-stubs-mips.h
|
| @@ -64,9 +64,7 @@ class StoreRegistersStateStub: public PlatformCodeStub {
|
| static void GenerateAheadOfTime(Isolate* isolate);
|
|
|
| private:
|
| - void Generate(MacroAssembler* masm);
|
| -
|
| - DEFINE_CODE_STUB(StoreRegistersState, PlatformCodeStub);
|
| + DEFINE_PLATFORM_CODE_STUB(StoreRegistersState, PlatformCodeStub);
|
| };
|
|
|
|
|
| @@ -78,9 +76,7 @@ class RestoreRegistersStateStub: public PlatformCodeStub {
|
| static void GenerateAheadOfTime(Isolate* isolate);
|
|
|
| private:
|
| - void Generate(MacroAssembler* masm);
|
| -
|
| - DEFINE_CODE_STUB(RestoreRegistersState, PlatformCodeStub);
|
| + DEFINE_PLATFORM_CODE_STUB(RestoreRegistersState, PlatformCodeStub);
|
| };
|
|
|
|
|
| @@ -106,8 +102,6 @@ class WriteInt32ToHeapNumberStub : public PlatformCodeStub {
|
| static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate);
|
|
|
| private:
|
| - void Generate(MacroAssembler* masm);
|
| -
|
| Register the_int() const {
|
| return Register::from_code(IntRegisterBits::decode(minor_key_));
|
| }
|
| @@ -130,7 +124,7 @@ class WriteInt32ToHeapNumberStub : public PlatformCodeStub {
|
| class ScratchRegisterBits: public BitField<int, 8, 4> {};
|
| class SignRegisterBits: public BitField<int, 12, 4> {};
|
|
|
| - DEFINE_CODE_STUB(WriteInt32ToHeapNumber, PlatformCodeStub);
|
| + DEFINE_PLATFORM_CODE_STUB(WriteInt32ToHeapNumber, PlatformCodeStub);
|
| };
|
|
|
|
|
| @@ -289,7 +283,7 @@ class RecordWriteStub: public PlatformCodeStub {
|
|
|
| virtual inline Major MajorKey() const FINAL OVERRIDE { return RecordWrite; }
|
|
|
| - void Generate(MacroAssembler* masm);
|
| + virtual void Generate(MacroAssembler* masm) OVERRIDE;
|
| void GenerateIncremental(MacroAssembler* masm, Mode mode);
|
| void CheckNeedsToInformIncrementalMarker(
|
| MacroAssembler* masm,
|
| @@ -342,13 +336,12 @@ class RecordWriteStub: public PlatformCodeStub {
|
| class DirectCEntryStub: public PlatformCodeStub {
|
| public:
|
| explicit DirectCEntryStub(Isolate* isolate) : PlatformCodeStub(isolate) {}
|
| - void Generate(MacroAssembler* masm);
|
| void GenerateCall(MacroAssembler* masm, Register target);
|
|
|
| private:
|
| bool NeedsImmovableCode() { return true; }
|
|
|
| - DEFINE_CODE_STUB(DirectCEntry, PlatformCodeStub);
|
| + DEFINE_PLATFORM_CODE_STUB(DirectCEntry, PlatformCodeStub);
|
| };
|
|
|
|
|
| @@ -361,8 +354,6 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
|
| minor_key_ = LookupModeBits::encode(mode);
|
| }
|
|
|
| - void Generate(MacroAssembler* masm);
|
| -
|
| static void GenerateNegativeLookup(MacroAssembler* masm,
|
| Label* miss,
|
| Label* done,
|
| @@ -397,7 +388,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
|
|
|
| class LookupModeBits: public BitField<LookupMode, 0, 1> {};
|
|
|
| - DEFINE_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
|
| + DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
|
| };
|
|
|
|
|
|
|