| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index fce0d6b9488bbb1dcb41caf947a1f322c7570bf0..95e44fbc5f6e43e31211e86720e397a6464df633 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -122,6 +122,7 @@ namespace internal {
|
| V(KeyedLoadSloppyArguments) \
|
| V(KeyedStoreSloppyArguments) \
|
| V(StoreField) \
|
| + V(StoreInterceptor) \
|
| V(StoreGlobal) \
|
| V(StoreTransition)
|
|
|
| @@ -777,6 +778,18 @@ class ToBooleanStub final : public TurboFanCodeStub {
|
| DEFINE_TURBOFAN_CODE_STUB(ToBoolean, TurboFanCodeStub);
|
| };
|
|
|
| +class StoreInterceptorStub : public TurboFanCodeStub {
|
| + public:
|
| + explicit StoreInterceptorStub(Isolate* isolate) : TurboFanCodeStub(isolate) {}
|
| +
|
| + void GenerateAssembly(compiler::CodeStubAssembler* assember) const override;
|
| +
|
| + Code::Kind GetCodeKind() const override { return Code::HANDLER; }
|
| +
|
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(Store);
|
| + DEFINE_CODE_STUB(StoreInterceptor, TurboFanCodeStub);
|
| +};
|
| +
|
| enum StringAddFlags {
|
| // Omit both parameter checks.
|
| STRING_ADD_CHECK_NONE = 0,
|
| @@ -2547,7 +2560,6 @@ class AllocateMutableHeapNumberStub : public TurboFanCodeStub {
|
| DEFINE_CODE_STUB(AllocateMutableHeapNumber, TurboFanCodeStub);
|
| };
|
|
|
| -
|
| class AllocateInNewSpaceStub final : public HydrogenCodeStub {
|
| public:
|
| explicit AllocateInNewSpaceStub(Isolate* isolate)
|
|
|