| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index b74aabbc825c0223b6b6e87315334db081620e0c..8a3a2f7c6d6d1cb58d6258b8b31b42df89c4a490 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -126,6 +126,7 @@ class ObjectLiteral;
|
| V(StoreField) \
|
| V(StoreGlobal) \
|
| V(StoreIC) \
|
| + V(KeyedStoreICTF) \
|
| V(StoreInterceptor) \
|
| V(StoreMap) \
|
| V(StoreTransition) \
|
| @@ -138,7 +139,8 @@ class ObjectLiteral;
|
| V(LoadICTrampoline) \
|
| V(LoadGlobalICTrampoline) \
|
| V(KeyedLoadICTrampolineTF) \
|
| - V(StoreICTrampoline)
|
| + V(StoreICTrampoline) \
|
| + V(KeyedStoreICTrampolineTF)
|
|
|
| // List of code stubs only used on ARM 32 bits platforms.
|
| #if V8_TARGET_ARCH_ARM
|
| @@ -2077,6 +2079,17 @@ class KeyedStoreICTrampolineStub : public PlatformCodeStub {
|
| DEFINE_PLATFORM_CODE_STUB(KeyedStoreICTrampoline, PlatformCodeStub);
|
| };
|
|
|
| +class KeyedStoreICTrampolineTFStub : public StoreICTrampolineStub {
|
| + public:
|
| + KeyedStoreICTrampolineTFStub(Isolate* isolate, const StoreICState& state)
|
| + : StoreICTrampolineStub(isolate, state) {}
|
| +
|
| + void GenerateAssembly(CodeStubAssembler* assembler) const override;
|
| +
|
| + Code::Kind GetCodeKind() const override { return Code::KEYED_STORE_IC; }
|
| +
|
| + DEFINE_CODE_STUB(KeyedStoreICTrampolineTF, StoreICTrampolineStub);
|
| +};
|
|
|
| class CallICTrampolineStub : public PlatformCodeStub {
|
| public:
|
| @@ -2182,6 +2195,17 @@ class KeyedStoreICStub : public PlatformCodeStub {
|
| void GenerateImpl(MacroAssembler* masm, bool in_frame);
|
| };
|
|
|
| +class KeyedStoreICTFStub : public StoreICStub {
|
| + public:
|
| + KeyedStoreICTFStub(Isolate* isolate, const StoreICState& state)
|
| + : StoreICStub(isolate, state) {}
|
| +
|
| + void GenerateAssembly(CodeStubAssembler* assembler) const override;
|
| +
|
| + Code::Kind GetCodeKind() const override { return Code::KEYED_STORE_IC; }
|
| +
|
| + DEFINE_CODE_STUB(KeyedStoreICTF, StoreICStub);
|
| +};
|
|
|
| class DoubleToIStub : public PlatformCodeStub {
|
| public:
|
|
|