Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index e822588e209b23b5bb775b6b9c2f2267030a31d1..31c0b8275d872590800314109e437c10d3ada459 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -289,11 +289,12 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
#ifdef ENABLE_DEBUGGER_SUPPORT |
code->set_has_debug_break_slots( |
info->isolate()->debugger()->IsDebuggerActive()); |
+ code->set_compiled_optimizable(info->IsOptimizable()); |
#endif // ENABLE_DEBUGGER_SUPPORT |
code->set_allow_osr_at_loop_nesting_level(0); |
code->set_stack_check_table_offset(table_offset); |
CodeGenerator::PrintCode(code, info); |
- info->SetCode(code); // may be an empty handle. |
+ info->SetCode(code); // May be an empty handle. |
#ifdef ENABLE_GDB_JIT_INTERFACE |
if (FLAG_gdbjit && !code.is_null()) { |
GDBJITLineInfo* lineinfo = |