Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index b742a0030bdf35ba98d5bf280506c4684f13f433..c8d30e72e1a95d35e249a023ee97b0bd9ec0cbac 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -71,8 +71,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_)); |
} |
@@ -90,7 +88,7 @@ class WriteInt32ToHeapNumberStub : public PlatformCodeStub { |
class HeapNumberRegisterBits: public BitField<int, 4, 4> {}; |
class ScratchRegisterBits: public BitField<int, 8, 4> {}; |
- DEFINE_CODE_STUB(WriteInt32ToHeapNumber, PlatformCodeStub); |
+ DEFINE_PLATFORM_CODE_STUB(WriteInt32ToHeapNumber, PlatformCodeStub); |
}; |
@@ -245,7 +243,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, |
@@ -298,13 +296,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); |
}; |
@@ -317,8 +314,6 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
minor_key_ = LookupModeBits::encode(mode); |
} |
- void Generate(MacroAssembler* masm); |
- |
static void GenerateNegativeLookup(MacroAssembler* masm, |
Label* miss, |
Label* done, |
@@ -353,7 +348,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
- DEFINE_CODE_STUB(NameDictionaryLookup, PlatformCodeStub); |
+ DEFINE_PLATFORM_CODE_STUB(NameDictionaryLookup, PlatformCodeStub); |
}; |
} } // namespace v8::internal |