Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index e390052b529997ae157504e2fbbe20aea4f740f7..00f20ff8ba4c4a3435f136abbca2aee8a07930f8 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -355,13 +355,15 @@ class Factory { |
ElementsKind elements_kind, |
int length, |
int capacity, |
+ ArrayStorageAllocationMode mode = INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE, |
PretenureFlag pretenure = NOT_TENURED); |
Handle<JSArray> NewJSArray( |
int capacity, |
ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND, |
PretenureFlag pretenure = NOT_TENURED) { |
- return NewJSArray(elements_kind, 0, capacity, pretenure); |
+ return NewJSArray(elements_kind, 0, capacity, |
+ INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE, pretenure); |
} |
Handle<JSArray> NewJSArrayWithElements( |