| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index a4f60bdc6d06494a8c9a2d19f6117f8ae4e6e084..ee25bf23d87c4c917896ba872ecd88a5ae774914 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -59,6 +59,11 @@ class Factory {
|
| int size,
|
| PretenureFlag pretenure = NOT_TENURED);
|
|
|
| + Handle<ConstantPoolArray> NewConstantPoolArray(
|
| + int number_of_int64_entries,
|
| + int number_of_ptr_entries,
|
| + int number_of_int32_entries);
|
| +
|
| Handle<SeededNumberDictionary> NewSeededNumberDictionary(
|
| int at_least_space_for);
|
|
|
| @@ -243,6 +248,8 @@ class Factory {
|
|
|
| Handle<Cell> NewCell(Handle<Object> value);
|
|
|
| + Handle<PropertyCell> NewPropertyCellWithHole();
|
| +
|
| Handle<PropertyCell> NewPropertyCell(Handle<Object> value);
|
|
|
| Handle<AllocationSite> NewAllocationSite();
|
| @@ -273,6 +280,9 @@ class Factory {
|
| Handle<FixedDoubleArray> CopyFixedDoubleArray(
|
| Handle<FixedDoubleArray> array);
|
|
|
| + Handle<ConstantPoolArray> CopyConstantPoolArray(
|
| + Handle<ConstantPoolArray> array);
|
| +
|
| // Numbers (e.g. literals) are pretenured by the parser.
|
| Handle<Object> NewNumber(double value,
|
| PretenureFlag pretenure = NOT_TENURED);
|
| @@ -298,7 +308,7 @@ class Factory {
|
| Handle<JSObject> NewJSObject(Handle<JSFunction> constructor,
|
| PretenureFlag pretenure = NOT_TENURED);
|
|
|
| - // Global objects are pretenured.
|
| + // Global objects are pretenured and initialized based on a constructor.
|
| Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor);
|
|
|
| // JS objects are pretenured when allocated by the bootstrapper and
|
| @@ -370,7 +380,8 @@ class Factory {
|
| Code::Flags flags,
|
| Handle<Object> self_reference,
|
| bool immovable = false,
|
| - bool crankshafted = false);
|
| + bool crankshafted = false,
|
| + int prologue_offset = Code::kPrologueOffsetNotSet);
|
|
|
| Handle<Code> CopyCode(Handle<Code> code);
|
|
|
|
|