| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index a2bb9391ee64fb2bf8fe7332c39353d8fef19999..32a1755e3ba80f81f67974287d65eda8264666ea 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -525,6 +525,12 @@ Handle<FixedArray> Factory::CopyFixedArray(Handle<FixedArray> array) {
|
| }
|
|
|
|
|
| +Handle<FixedArray> Factory::CopySizeFixedArray(Handle<FixedArray> array,
|
| + int new_length) {
|
| + CALL_HEAP_FUNCTION(isolate(), array->CopySize(new_length), FixedArray);
|
| +}
|
| +
|
| +
|
| Handle<FixedDoubleArray> Factory::CopyFixedDoubleArray(
|
| Handle<FixedDoubleArray> array) {
|
| CALL_HEAP_FUNCTION(isolate(), array->Copy(), FixedDoubleArray);
|
| @@ -870,6 +876,13 @@ Handle<ScopeInfo> Factory::NewScopeInfo(int length) {
|
| }
|
|
|
|
|
| +Handle<JSObject> Factory::NewExternal(void* value) {
|
| + CALL_HEAP_FUNCTION(isolate(),
|
| + isolate()->heap()->AllocateExternal(value),
|
| + JSObject);
|
| +}
|
| +
|
| +
|
| Handle<Code> Factory::NewCode(const CodeDesc& desc,
|
| Code::Flags flags,
|
| Handle<Object> self_ref,
|
|
|