Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index a3e42eb50595b98292b299bcb65cb3568728953a..1e2afeb6825e22d4af6b37a270afc94a72bbb284 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -310,10 +310,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; |
- } |
__ movq(rbx, profiling_counter_, RelocInfo::EMBEDDED_OBJECT); |
__ movq(kScratchRegister, |
reinterpret_cast<uint64_t>(Smi::FromInt(reset_value)), |