| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index b4964b56bfc74284369245d0d65b26fbe14ec04c..4f71ef9abd102d8c61e8b8f225e68410a2164749 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1680,6 +1680,7 @@ Handle<Code> Factory::NewCode(const CodeDesc& desc,
|
| code->set_prologue_offset(prologue_offset);
|
| code->set_constant_pool_offset(desc.instr_size - desc.constant_pool_size);
|
| code->set_builtin_index(-1);
|
| + code->set_trap_handler_index(Smi::FromInt(-1));
|
|
|
| if (code->kind() == Code::OPTIMIZED_FUNCTION) {
|
| code->set_marked_for_deoptimization(false);
|
|
|