Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index f1112e4976a21a6d5ff04545645c606a4f6a6f63..da3e89d8442ea5e71bd597ee4e26ccf2baaa1ac9 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -395,11 +395,6 @@ class Factory final { |
// JS arrays are pretenured when allocated by the parser. |
- // Create a JSArray with no elements. |
- Handle<JSArray> NewJSArray(ElementsKind elements_kind, |
- Strength strength = Strength::WEAK, |
- PretenureFlag pretenure = NOT_TENURED); |
- |
// Create a JSArray with a specified length and elements initialized |
// according to the specified mode. |
Handle<JSArray> NewJSArray( |
@@ -704,6 +699,11 @@ class Factory final { |
Handle<SharedFunctionInfo> info, |
Handle<Context> context, |
PretenureFlag pretenure = TENURED); |
+ |
+ // Create a JSArray with no elements and no length. |
+ Handle<JSArray> NewJSArray(ElementsKind elements_kind, |
+ Strength strength = Strength::WEAK, |
+ PretenureFlag pretenure = NOT_TENURED); |
}; |
} // namespace internal |