Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index f9016f180b5b2aee5d33f7cbd4aec6607a23b1fb..3b31399a177c46d2541ebe55e0ff31b690c30bb9 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -82,6 +82,7 @@ namespace internal { |
/* IC Handler stubs */ \ |
V(LoadConstant) \ |
V(LoadField) \ |
+ V(KeyedLoadSloppyArguments) \ |
V(StoreField) \ |
V(StoreGlobal) \ |
V(StringLength) |
@@ -914,6 +915,20 @@ class LoadFieldStub: public HandlerStub { |
}; |
+class KeyedLoadSloppyArgumentsStub : public HandlerStub { |
+ public: |
+ explicit KeyedLoadSloppyArgumentsStub(Isolate* isolate) |
+ : HandlerStub(isolate) {} |
+ |
+ protected: |
+ virtual Code::Kind kind() const { return Code::KEYED_LOAD_IC; } |
+ virtual Code::StubType GetStubType() { return Code::FAST; } |
+ |
+ private: |
+ DEFINE_HANDLER_CODE_STUB(KeyedLoadSloppyArguments, HandlerStub); |
+}; |
+ |
+ |
class LoadConstantStub : public HandlerStub { |
public: |
LoadConstantStub(Isolate* isolate, int constant_index) |