Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index ebab9f15b14e8a5f35cd10fce8f31154d2697892..7f5799e75345b246ab64dac32eaaf389866a633e 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -48,8 +48,10 @@ Handle<BytecodeArray> BytecodeArrayBuilder::ToBytecodeArray() { |
int bytecode_size = static_cast<int>(bytecodes_.size()); |
int register_count = local_register_count_ + temporary_register_count_; |
int frame_size = register_count * kPointerSize; |
- Handle<BytecodeArray> output = isolate_->factory()->NewBytecodeArray( |
- bytecode_size, &bytecodes_.front(), frame_size, parameter_count_); |
+ Factory* factory = isolate_->factory(); |
+ Handle<BytecodeArray> output = |
+ factory->NewBytecodeArray(bytecode_size, &bytecodes_.front(), frame_size, |
+ parameter_count_, factory->empty_fixed_array()); |
bytecode_generated_ = true; |
return output; |
} |