| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index a999b15f21423411a0914581bcfd2dbbe783bf22..06aad1bef6b9ec6dce19b9616fb7221252208dab 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -216,10 +216,9 @@ class Factory {
|
| Handle<JSGlobalPropertyCell> NewJSGlobalPropertyCell(
|
| Handle<Object> value);
|
|
|
| - Handle<Map> NewMap(
|
| - InstanceType type,
|
| - int instance_size,
|
| - ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND);
|
| + Handle<Map> NewMap(InstanceType type,
|
| + int instance_size,
|
| + ElementsKind elements_kind = FAST_ELEMENTS);
|
|
|
| Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function);
|
|
|
| @@ -270,14 +269,13 @@ class Factory {
|
| Handle<JSModule> NewJSModule();
|
|
|
| // JS arrays are pretenured when allocated by the parser.
|
| - Handle<JSArray> NewJSArray(
|
| - int capacity,
|
| - ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
|
| - PretenureFlag pretenure = NOT_TENURED);
|
| + Handle<JSArray> NewJSArray(int capacity,
|
| + ElementsKind elements_kind = FAST_ELEMENTS,
|
| + PretenureFlag pretenure = NOT_TENURED);
|
|
|
| Handle<JSArray> NewJSArrayWithElements(
|
| Handle<FixedArrayBase> elements,
|
| - ElementsKind elements_kind = TERMINAL_FAST_ELEMENTS_KIND,
|
| + ElementsKind elements_kind = FAST_ELEMENTS,
|
| PretenureFlag pretenure = NOT_TENURED);
|
|
|
| void SetElementsCapacityAndLength(Handle<JSArray> array,
|
| @@ -289,7 +287,6 @@ class Factory {
|
| void EnsureCanContainHeapObjectElements(Handle<JSArray> array);
|
| void EnsureCanContainElements(Handle<JSArray> array,
|
| Handle<FixedArrayBase> elements,
|
| - uint32_t length,
|
| EnsureElementsMode mode);
|
|
|
| Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
|
|
|