Index: src/x87/code-stubs-x87.h |
diff --git a/src/x87/code-stubs-x87.h b/src/x87/code-stubs-x87.h |
index 03c9bedfbd81d8b43aa8d535636586b718e4e600..67f229305b6c29f2756138ff39ccd4f2a6cdc5c3 100644 |
--- a/src/x87/code-stubs-x87.h |
+++ b/src/x87/code-stubs-x87.h |
@@ -114,7 +114,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
NameDictionary::kHeaderSize + |
NameDictionary::kElementsStartIndex * kPointerSize; |
- Major MajorKey() const { return NameDictionaryLookup; } |
+ virtual inline Major MajorKey() const FINAL OVERRIDE; |
Register dictionary() const { |
return Register::from_code(DictionaryBits::decode(minor_key_)); |
@@ -338,7 +338,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); |