Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 53ace82fe7a28b7bb28b3ba60708b2dfdc5c5070..e55a56e626ae954fa1e7a9e29eb8c06276f01447 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -291,6 +291,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); |