Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index fc7b6899bcbffb29127b009fe5ffceff22ff3908..610990451a860089cc15eeb54d8e5ca8b2bd0fc2 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -296,6 +296,8 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
code->set_optimizable(info->IsOptimizable()); |
cgen.PopulateDeoptimizationData(code); |
code->set_has_deoptimization_support(info->HasDeoptimizationSupport()); |
+ code->set_has_debug_break_slots( |
+ info->isolate()->debugger()->IsDebuggerActive()); |
code->set_allow_osr_at_loop_nesting_level(0); |
code->set_stack_check_table_offset(table_offset); |
CodeGenerator::PrintCode(code, info); |