Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 23e7001559f3f5ac4a6163532a6074035c1cd026..e03e98b8f04fdbc1fe5f7788c012d351a76f654e 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -221,7 +221,7 @@ class Factory : public AllStatic { |
static Handle<JSObject> NewJSObjectFromMap(Handle<Map> map); |
// JS arrays are pretenured when allocated by the parser. |
- static Handle<JSArray> NewJSArray(int init_length, |
+ static Handle<JSArray> NewJSArray(int capacity, |
PretenureFlag pretenure = NOT_TENURED); |
static Handle<JSArray> NewJSArrayWithElements( |