Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index ff7c3c139e5057e1b56011dea286d5e95ea2624d..30c131c644534b9c46f171b6b5922132a9eaeac3 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -328,7 +328,7 @@ void FullCodeGenerator::EmitProfilingCounterReset() { |
} |
if (isolate()->IsDebuggerActive()) { |
// Detect debug break requests as soon as possible. |
- reset_value = 10; |
+ reset_value = FLAG_interrupt_budget >> 4; |
} |
__ mov(r2, Operand(profiling_counter_)); |
__ mov(r3, Operand(Smi::FromInt(reset_value))); |