Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index f2e51960fd962f849f114b31314e82d60873ceaf..112af20ff03ab123280b9075900003964eaa341b 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1016,6 +1016,11 @@ void Genesis::InitializeGlobal(Handle<GlobalObject> global_object, |
ArrayConstructorStub array_constructor_stub(isolate); |
Handle<Code> code = array_constructor_stub.GetCode(); |
array_function->shared()->set_construct_stub(*code); |
+ |
+ Handle<Map> initial_strong_map = |
+ Map::Copy(initial_map, "SetInstancePrototype"); |
+ initial_strong_map->set_is_strong(true); |
+ CacheInitialJSArrayMaps(native_context(), initial_strong_map); |
} |
{ // --- N u m b e r --- |