Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index dc5b5368f6e4d383a0b9d0d819234d975af83567..b9905b4517b1e502724c11c3cddcdbbd874c49d8 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2365,9 +2365,11 @@ CodeTracer* Isolate::GetCodeTracer() { |
} |
-Map* Isolate::get_initial_js_array_map(ElementsKind kind) { |
+Map* Isolate::get_initial_js_array_map(ElementsKind kind, |
+ ObjectStrength strength) { |
Context* native_context = context()->native_context(); |
- Object* maybe_map_array = native_context->js_array_maps(); |
+ Object* maybe_map_array = strength ? 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); |