| Index: src/x87/code-stubs-x87.h
|
| diff --git a/src/x87/code-stubs-x87.h b/src/x87/code-stubs-x87.h
|
| index 9939bab35dd49665ee99e13c78fdfd51b333b2db..b5003640f43a2f186d8465a42cb754e0b0e8a2ed 100644
|
| --- a/src/x87/code-stubs-x87.h
|
| +++ b/src/x87/code-stubs-x87.h
|
| @@ -5,8 +5,6 @@
|
| #ifndef V8_X87_CODE_STUBS_X87_H_
|
| #define V8_X87_CODE_STUBS_X87_H_
|
|
|
| -#include "src/code-stubs.h"
|
| -
|
| namespace v8 {
|
| namespace internal {
|
|
|
| @@ -99,8 +97,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_));
|
| }
|
| @@ -120,7 +116,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);
|
| };
|
|
|
|
|
| @@ -141,6 +137,9 @@ class RecordWriteStub: public PlatformCodeStub {
|
| RememberedSetActionBits::encode(remembered_set_action);
|
| }
|
|
|
| + RecordWriteStub(uint32_t key, Isolate* isolate)
|
| + : PlatformCodeStub(key, isolate), regs_(object(), address(), value()) {}
|
| +
|
| enum Mode {
|
| STORE_BUFFER_ONLY,
|
| INCREMENTAL,
|
| @@ -323,7 +322,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);
|
|
|