380 for (
int i = 0;
i < receiver_maps->length(); ++
i) {
381 Handle<Map> receiver_map = receiver_maps->at(
i);
382 Handle<Code> cached_stub;
385 cached_stub = isolate()->builtins()->KeyedLoadIC_String();
387 cached_stub = isolate()->builtins()->KeyedLoadIC_Slow();
389 bool is_js_array = receiver_map->instance_type() ==
JS_ARRAY_TYPE;
390 ElementsKind elements_kind = receiver_map->elements_kind();
391 if (receiver_map->has_indexed_interceptor()) {
392 cached_stub = LoadIndexedInterceptorStub(isolate()).GetCode();
394 cached_stub = KeyedLoadSloppyArgumentsStub(isolate()).GetCode();
398 cached_stub = LoadFastElementStub(isolate(), is_js_array, elements_kind)
402 cached_stub = LoadDictionaryElementStub(isolate()).GetCode();
406 handlers->Add(cached_stub);
#define DCHECK(condition)
bool IsSloppyArgumentsElements(ElementsKind kind)
bool IsExternalArrayElementsKind(ElementsKind kind)
const uint32_t kNotStringTag
bool IsFastElementsKind(ElementsKind kind)
bool IsFixedTypedArrayElementsKind(ElementsKind kind)