Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index b34236f45eb4e559143139c605294c75f344be21..feff8c5b6e947855f51e5a66598d193cf8ed3b49 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -53,6 +53,7 @@ enum DictionaryCheck { CHECK_DICTIONARY, DICTIONARY_CHECK_DONE }; |
ICU(LoadPropertyWithInterceptorOnly) \ |
ICU(LoadPropertyWithInterceptorForLoad) \ |
ICU(LoadPropertyWithInterceptorForCall) \ |
+ ICU(KeyedLoadPropertyWithInterceptor) \ |
ICU(StoreInterceptorProperty) |
// |
@@ -293,6 +294,7 @@ class KeyedLoadIC: public IC { |
// for all other types. |
static void GenerateExternalArray(MacroAssembler* masm, |
ExternalArrayType array_type); |
+ static void GenerateIndexedInterceptor(MacroAssembler* masm); |
// Clear the use of the inlined version. |
static void ClearInlinedVersion(Address address); |
@@ -329,6 +331,10 @@ class KeyedLoadIC: public IC { |
} |
static Code* external_array_stub(JSObject::ElementsKind elements_kind); |
+ static Code* indexed_interceptor_stub() { |
+ return Builtins::builtin(Builtins::KeyedLoadIC_IndexedInterceptor); |
+ } |
+ |
static void Clear(Address address, Code* target); |
// Support for patching the map that is checked in an inlined |