| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 510b00abff731694cacf50e3910feefd81ac7d86..2c880021dc757c8a6ea2d6b51e2f26f86d31c218 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -203,7 +203,9 @@ class Factory {
|
| Handle<JSGlobalPropertyCell> NewJSGlobalPropertyCell(
|
| Handle<Object> value);
|
|
|
| - Handle<Map> NewMap(InstanceType type, int instance_size);
|
| + Handle<Map> NewMap(InstanceType type,
|
| + int instance_size,
|
| + ElementsKind elements_kind = FAST_ELEMENTS);
|
|
|
| Handle<JSObject> NewFunctionPrototype(Handle<JSFunction> function);
|
|
|
| @@ -253,6 +255,10 @@ class Factory {
|
| Handle<FixedArray> elements,
|
| PretenureFlag pretenure = NOT_TENURED);
|
|
|
| + void SetContent(Handle<JSArray> array, Handle<FixedArray> elements);
|
| +
|
| + void EnsureCanContainNonSmiElements(Handle<JSArray> array);
|
| +
|
| Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
|
|
|
| // Change the type of the argument into a JS object/function and reinitialize.
|
|
|