Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index b28fe499a53018d5324d73ebf1927f4a5ff72167..3b9f51c87a6d50224248b95edbcd3b9f93dac4bf 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -94,9 +94,11 @@ Handle<Code> PropertyICCompiler::ComputeKeyedLoadMonomorphic( |
ElementsKind elements_kind = receiver_map->elements_kind(); |
Handle<Code> stub; |
- if (receiver_map->has_fast_elements() || |
- receiver_map->has_external_array_elements() || |
- receiver_map->has_fixed_typed_array_elements()) { |
+ if (receiver_map->has_indexed_interceptor()) { |
+ stub = LoadIndexedInterceptorStub(isolate).GetCode(); |
+ } else if (receiver_map->has_fast_elements() || |
+ receiver_map->has_external_array_elements() || |
+ receiver_map->has_fixed_typed_array_elements()) { |
stub = LoadFastElementStub(isolate, |
receiver_map->instance_type() == JS_ARRAY_TYPE, |
elements_kind).GetCode(); |