Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 01f6f398af7ee6d9bfe2482af1f3905a25375d52..b6cdd7ff499f1634a802d128aa4ab1983c60c4bc 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -1847,13 +1847,6 @@ static void RedirectActivationsToRecompiledCodeOnThread( |
// break slots. |
debug_break_slot_count++; |
} |
- if (frame_code->has_self_optimization_header() && |
- !new_code->has_self_optimization_header()) { |
- delta -= FullCodeGenerator::self_optimization_header_size(); |
- } else { |
- ASSERT(frame_code->has_self_optimization_header() == |
- new_code->has_self_optimization_header()); |
- } |
int debug_break_slot_bytes = |
debug_break_slot_count * Assembler::kDebugBreakSlotLength; |
if (FLAG_trace_deopt) { |