| Index: src/ia32/code-stubs-ia32.h
|
| diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h
|
| index 5cc55dd65c7f5c0e608b4ec54dcacf20eff88a79..aa732eefea8701adf9ddb1205c1c43d31b90c12a 100644
|
| --- a/src/ia32/code-stubs-ia32.h
|
| +++ b/src/ia32/code-stubs-ia32.h
|
| @@ -5,8 +5,6 @@
|
| #ifndef V8_IA32_CODE_STUBS_IA32_H_
|
| #define V8_IA32_CODE_STUBS_IA32_H_
|
|
|
| -#include "src/code-stubs.h"
|
| -
|
| namespace v8 {
|
| namespace internal {
|
|
|
| @@ -114,8 +112,6 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
|
| NameDictionary::kHeaderSize +
|
| NameDictionary::kElementsStartIndex * kPointerSize;
|
|
|
| - virtual inline Major MajorKey() const FINAL OVERRIDE;
|
| -
|
| Register dictionary() const {
|
| return Register::from_code(DictionaryBits::decode(minor_key_));
|
| }
|
| @@ -135,7 +131,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub {
|
| class IndexBits: public BitField<int, 6, 3> {};
|
| class LookupModeBits: public BitField<LookupMode, 9, 1> {};
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(NameDictionaryLookupStub);
|
| + DEFINE_CODE_STUB(NameDictionaryLookup, PlatformCodeStub);
|
| };
|
|
|
|
|
| @@ -158,6 +154,9 @@ class RecordWriteStub: public PlatformCodeStub {
|
| SaveFPRegsModeBits::encode(fp_mode);
|
| }
|
|
|
| + RecordWriteStub(uint32_t key, Isolate* isolate)
|
| + : PlatformCodeStub(key, isolate), regs_(object(), address(), value()) {}
|
| +
|
| enum Mode {
|
| STORE_BUFFER_ONLY,
|
| INCREMENTAL,
|
| @@ -359,7 +358,7 @@ class RecordWriteStub: public PlatformCodeStub {
|
| kUpdateRememberedSetOnNoNeedToInformIncrementalMarker
|
| };
|
|
|
| - virtual inline Major MajorKey() const FINAL OVERRIDE;
|
| + virtual inline Major MajorKey() const FINAL OVERRIDE { return RecordWrite; }
|
|
|
| void Generate(MacroAssembler* masm);
|
| void GenerateIncremental(MacroAssembler* masm, Mode mode);
|
|
|