Index: src/ia32/code-stubs-ia32.h |
diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h |
index 1e5c6cc3b6a1f539478789d0fed3c4f209a2a7ae..5cc55dd65c7f5c0e608b4ec54dcacf20eff88a79 100644 |
--- a/src/ia32/code-stubs-ia32.h |
+++ b/src/ia32/code-stubs-ia32.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_)); |
@@ -359,7 +359,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); |