Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 9b81cf68d70630d0d92cd0df22262e9b25f46f47..eca7c76c22365bc03fb6829791cf3e4fdb75dac3 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -101,6 +101,7 @@ namespace internal { |
V(LoadFastElement) \ |
V(LoadField) \ |
V(KeyedLoadSloppyArguments) \ |
+ V(KeyedStoreSloppyArguments) \ |
V(StoreField) \ |
V(StoreGlobal) \ |
V(StoreTransition) \ |
@@ -1137,6 +1138,20 @@ class KeyedLoadSloppyArgumentsStub : public HandlerStub { |
}; |
+class KeyedStoreSloppyArgumentsStub : public HandlerStub { |
+ public: |
+ explicit KeyedStoreSloppyArgumentsStub(Isolate* isolate) |
+ : HandlerStub(isolate) {} |
+ |
+ protected: |
+ Code::Kind kind() const override { return Code::KEYED_STORE_IC; } |
+ Code::StubType GetStubType() const override { return Code::FAST; } |
+ |
+ private: |
+ DEFINE_HANDLER_CODE_STUB(KeyedStoreSloppyArguments, HandlerStub); |
+}; |
+ |
+ |
class LoadConstantStub : public HandlerStub { |
public: |
LoadConstantStub(Isolate* isolate, int constant_index) |