| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 88508614fe86c9a3e607920fe37758820524b58c..4f45be0f36253d87681c5f2274e0902bccce0929 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -887,14 +887,13 @@ Handle<ByteArray> Factory::NewByteArray(int length, PretenureFlag pretenure) {
|
| }
|
|
|
|
|
| -Handle<BytecodeArray> Factory::NewBytecodeArray(int length,
|
| - const byte* raw_bytecodes,
|
| - int frame_size,
|
| - int parameter_count) {
|
| +Handle<BytecodeArray> Factory::NewBytecodeArray(
|
| + int length, const byte* raw_bytecodes, int frame_size, int parameter_count,
|
| + Handle<FixedArray> constant_pool) {
|
| DCHECK(0 <= length);
|
| - CALL_HEAP_FUNCTION(isolate(),
|
| - isolate()->heap()->AllocateBytecodeArray(
|
| - length, raw_bytecodes, frame_size, parameter_count),
|
| + CALL_HEAP_FUNCTION(isolate(), isolate()->heap()->AllocateBytecodeArray(
|
| + length, raw_bytecodes, frame_size,
|
| + parameter_count, *constant_pool),
|
| BytecodeArray);
|
| }
|
|
|
|
|