Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 4e3d640adc27e29ce6e3f06016422d68ffef7cd8..27f8b47a5759e72561b3419dda894c4d05ab1882 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -993,10 +993,8 @@ BUILTIN(ArrayConcat) { |
has_double && IsFastObjectElementsKind(elements_kind) |
? INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE : DONT_INITIALIZE_ARRAY_ELEMENTS; |
Handle<JSArray> result_array = |
- isolate->factory()->NewJSArray(elements_kind, |
- result_len, |
- result_len, |
- mode); |
+ isolate->factory()->NewJSArray(elements_kind, result_len, result_len, |
+ WEAK, mode); |
if (result_len == 0) return *result_array; |
int j = 0; |