| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 34dfb2925ec47b9d99095d0ebf1e4dc3719b3edf..e4f57a709f29b417b7b7fe598118ec9cf2c1090e 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -889,10 +889,12 @@ Handle<ByteArray> Factory::NewByteArray(int length, PretenureFlag pretenure) {
|
|
|
| Handle<BytecodeArray> Factory::NewBytecodeArray(int length,
|
| const byte* raw_bytecodes,
|
| - int frame_size) {
|
| + int frame_size,
|
| + int parameter_count) {
|
| DCHECK(0 <= length);
|
| - CALL_HEAP_FUNCTION(isolate(), isolate()->heap()->AllocateBytecodeArray(
|
| - length, raw_bytecodes, frame_size),
|
| + CALL_HEAP_FUNCTION(isolate(),
|
| + isolate()->heap()->AllocateBytecodeArray(
|
| + length, raw_bytecodes, frame_size, parameter_count),
|
| BytecodeArray);
|
| }
|
|
|
|
|