Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 26150d8fe92ed40131d94e90f9be5eb2ce746112..d0fbb77b66e2dbbcf7d165756a0c40ace68f4bc9 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1626,6 +1626,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_protected_instructions(*empty_fixed_array()); |
if (code->kind() == Code::OPTIMIZED_FUNCTION) { |
code->set_marked_for_deoptimization(false); |