Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 1b031f8a937559306d048d616e59f9955170ce2e..36202c79a0ed320b1cb8fcfe6393a5f996672648 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2376,9 +2376,11 @@ CodeTracer* Isolate::GetCodeTracer() { |
} |
-Map* Isolate::get_initial_js_array_map(ElementsKind kind) { |
+Map* Isolate::get_initial_js_array_map(ElementsKind kind, bool is_strong) { |
Context* native_context = context()->native_context(); |
- Object* maybe_map_array = native_context->js_array_maps(); |
+ Object* maybe_map_array = is_strong |
+ ? native_context->js_array_strong_maps() |
+ : native_context->js_array_maps(); |
if (!maybe_map_array->IsUndefined()) { |
Object* maybe_transitioned_map = |
FixedArray::cast(maybe_map_array)->get(kind); |