Index: src/arm64/code-stubs-arm64.h |
diff --git a/src/arm64/code-stubs-arm64.h b/src/arm64/code-stubs-arm64.h |
index 968c261a7cea7d4a41c937b157d8b17ddb0efddd..88936dd2d23983b7060a20ce89ba2d2eecb1e095 100644 |
--- a/src/arm64/code-stubs-arm64.h |
+++ b/src/arm64/code-stubs-arm64.h |
@@ -46,9 +46,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); |
}; |
@@ -60,9 +58,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); |
}; |
@@ -278,7 +274,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, |
@@ -326,13 +322,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); |
}; |
@@ -345,8 +340,6 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
minor_key_ = LookupModeBits::encode(mode); |
} |
- void Generate(MacroAssembler* masm); |
- |
static void GenerateNegativeLookup(MacroAssembler* masm, |
Label* miss, |
Label* done, |
@@ -381,7 +374,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 |