Chromium Code Reviews| Index: src/code-stubs.h |
| diff --git a/src/code-stubs.h b/src/code-stubs.h |
| index fce0d6b9488bbb1dcb41caf947a1f322c7570bf0..5d31dbef615434ac360a6bbc5b748b02d1b75e47 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,16 @@ class ToBooleanStub final : public TurboFanCodeStub { |
| DEFINE_TURBOFAN_CODE_STUB(ToBoolean, TurboFanCodeStub); |
| }; |
| +class StoreInterceptorStub : public TurboFanCodeStub { |
|
Benedikt Meurer
2016/03/21 09:22:29
Doesn't this need to say HANDLER for Code kind?
|
| + public: |
| + explicit StoreInterceptorStub(Isolate* isolate) : TurboFanCodeStub(isolate) {} |
| + |
| + void GenerateAssembly(compiler::CodeStubAssembler* assember) const override; |
| + |
| + DEFINE_CALL_INTERFACE_DESCRIPTOR(Store); |
| + DEFINE_CODE_STUB(StoreInterceptor, TurboFanCodeStub); |
| +}; |
| + |
| enum StringAddFlags { |
| // Omit both parameter checks. |
| STRING_ADD_CHECK_NONE = 0, |
| @@ -2547,7 +2558,6 @@ class AllocateMutableHeapNumberStub : public TurboFanCodeStub { |
| DEFINE_CODE_STUB(AllocateMutableHeapNumber, TurboFanCodeStub); |
| }; |
| - |
| class AllocateInNewSpaceStub final : public HydrogenCodeStub { |
| public: |
| explicit AllocateInNewSpaceStub(Isolate* isolate) |