Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 5a513fd483a645b0e2bc769f58a995409cbd51be..77c095ad1caefa1173e94941fd0c02c5b9ae44fc 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -317,10 +317,6 @@ void FullCodeGenerator::EmitProfilingCounterReset() { |
// Self-optimization is a one-off thing: if it fails, don't try again. |
reset_value = Smi::kMaxValue; |
} |
- if (isolate()->IsDebuggerActive()) { |
- // Detect debug break requests as soon as possible. |
- reset_value = 10; |
- } |
__ mov(ebx, Immediate(profiling_counter_)); |
__ mov(FieldOperand(ebx, JSGlobalPropertyCell::kValueOffset), |
Immediate(Smi::FromInt(reset_value))); |