| Index: src/factory.h
|
| ===================================================================
|
| --- src/factory.h (revision 830)
|
| +++ src/factory.h (working copy)
|
| @@ -147,7 +147,8 @@
|
| // the old generation).
|
| static Handle<Proxy> NewProxy(const AccessorDescriptor* proxy);
|
|
|
| - static Handle<ByteArray> NewByteArray(int length);
|
| + static Handle<ByteArray> NewByteArray(int length,
|
| + PretenureFlag pretenure = NOT_TENURED);
|
|
|
| static Handle<Map> NewMap(InstanceType type, int instance_size);
|
|
|
| @@ -206,6 +207,9 @@
|
| Handle<Context> context);
|
|
|
| static Handle<Code> NewCode(const CodeDesc& desc, ScopeInfo<>* sinfo,
|
| + Code::Flags flags, Handle<Object> self_reference);
|
| +
|
| + static Handle<Code> NewCode(const CodeDesc& desc, ScopeInfo<>* sinfo,
|
| Code::Flags flags);
|
|
|
| static Handle<Code> CopyCode(Handle<Code> code);
|
|
|