| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index fd8dbbb3b4f6c344df677458db8ad53a7ffc0450..8ce59d53a339ac2a3f990d0ca8321fd7de8a1d62 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -3038,6 +3038,7 @@ AllocationResult Heap::AllocateBytecodeArray(int length,
|
| instance->set_frame_size(frame_size);
|
| instance->set_parameter_count(parameter_count);
|
| instance->set_interrupt_budget(interpreter::Interpreter::InterruptBudget());
|
| + instance->set_osr_loop_nesting_level(0);
|
| instance->set_constant_pool(constant_pool);
|
| instance->set_handler_table(empty_fixed_array());
|
| instance->set_source_position_table(empty_byte_array());
|
| @@ -3386,6 +3387,7 @@ AllocationResult Heap::CopyBytecodeArray(BytecodeArray* bytecode_array) {
|
| copy->set_handler_table(bytecode_array->handler_table());
|
| copy->set_source_position_table(bytecode_array->source_position_table());
|
| copy->set_interrupt_budget(bytecode_array->interrupt_budget());
|
| + copy->set_osr_loop_nesting_level(bytecode_array->osr_loop_nesting_level());
|
| bytecode_array->CopyBytecodesTo(copy);
|
| return copy;
|
| }
|
|
|