| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 77c84505d8c7411befd94771244caf394bc36706..4fb5ec4644f8c972505f71a81ab9c8f647ac5ba9 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -873,6 +873,15 @@ Handle<ByteArray> Factory::NewByteArray(int length, PretenureFlag pretenure) {
|
| }
|
|
|
|
|
| +Handle<BytecodeArray> Factory::NewBytecodeArray(int length,
|
| + const byte* raw_bytecodes) {
|
| + DCHECK(0 <= length);
|
| + CALL_HEAP_FUNCTION(isolate(), isolate()->heap()->AllocateBytecodeArray(
|
| + length, raw_bytecodes),
|
| + BytecodeArray);
|
| +}
|
| +
|
| +
|
| Handle<ExternalArray> Factory::NewExternalArray(int length,
|
| ExternalArrayType array_type,
|
| void* external_pointer,
|
|
|