Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 263656ea01fdc859ba1a6527e73e73d401e45bf8..9013860013a9b768f3a4b216542ce5bcc1ced9a4 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -332,7 +332,7 @@ void FullCodeGenerator::EmitProfilingCounterReset() { |
} |
if (isolate()->IsDebuggerActive()) { |
// Detect debug break requests as soon as possible. |
- reset_value = 10; |
+ reset_value = FLAG_interrupt_budget >> 4; |
} |
__ li(a2, Operand(profiling_counter_)); |
__ li(a3, Operand(Smi::FromInt(reset_value))); |