Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index 8a6f8d28857e00f9d9a9fe44275294684b4d0c2c..f6fb50af08a9378d63d86dbf94add036f92cba5b 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -86,7 +86,7 @@ class WriteInt32ToHeapNumberStub : public PlatformCodeStub { |
static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate); |
private: |
- Major MajorKey() const { return WriteInt32ToHeapNumber; } |
+ virtual inline Major MajorKey() const FINAL OVERRIDE; |
void Generate(MacroAssembler* masm); |
@@ -257,7 +257,7 @@ class RecordWriteStub: public PlatformCodeStub { |
kUpdateRememberedSetOnNoNeedToInformIncrementalMarker |
}; |
- Major MajorKey() const { return RecordWrite; } |
+ virtual inline Major MajorKey() const FINAL OVERRIDE; |
void Generate(MacroAssembler* masm); |
void GenerateIncremental(MacroAssembler* masm, Mode mode); |
@@ -316,7 +316,7 @@ class DirectCEntryStub: public PlatformCodeStub { |
void GenerateCall(MacroAssembler* masm, Register target); |
private: |
- Major MajorKey() const { return DirectCEntry; } |
+ virtual inline Major MajorKey() const FINAL OVERRIDE; |
bool NeedsImmovableCode() { return true; } |
@@ -365,7 +365,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
NameDictionary::kHeaderSize + |
NameDictionary::kElementsStartIndex * kPointerSize; |
- Major MajorKey() const { return NameDictionaryLookup; } |
+ virtual inline Major MajorKey() const FINAL OVERRIDE; |
LookupMode mode() const { return LookupModeBits::decode(minor_key_); } |