Index: src/ic/ic-compiler.cc |
diff --git a/src/ic/ic-compiler.cc b/src/ic/ic-compiler.cc |
index 4fe30234ee7bbe12759ad1e35f3cbd23f0a0c76c..a5ae6cfff4495e7bcd3d7e5b7050a6acdaa6c215 100644 |
--- a/src/ic/ic-compiler.cc |
+++ b/src/ic/ic-compiler.cc |
@@ -109,6 +109,7 @@ |
} else if (receiver_map->has_sloppy_arguments_elements()) { |
stub = KeyedLoadSloppyArgumentsStub(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, is_js_array, elements_kind, |
convert_hole_to_undefined).GetCode(); |
@@ -368,6 +369,7 @@ |
if (IsSloppyArgumentsElements(elements_kind)) { |
cached_stub = KeyedStoreSloppyArgumentsStub(isolate()).GetCode(); |
} else if (receiver_map->has_fast_elements() || |
+ receiver_map->has_external_array_elements() || |
receiver_map->has_fixed_typed_array_elements()) { |
cached_stub = StoreFastElementStub(isolate(), is_js_array, |
elements_kind, store_mode).GetCode(); |
@@ -399,6 +401,7 @@ |
if (receiver_map->has_sloppy_arguments_elements()) { |
stub = KeyedStoreSloppyArgumentsStub(isolate()).GetCode(); |
} else if (receiver_map->has_fast_elements() || |
+ receiver_map->has_external_array_elements() || |
receiver_map->has_fixed_typed_array_elements()) { |
stub = StoreFastElementStub(isolate(), is_jsarray, elements_kind, |
store_mode).GetCode(); |