Index: src/mips/assembler-mips-inl.h |
diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h |
index ce0d58c51c5b7dcd3ed990ac0d82aea057e482bf..87335cba093245b36b00d6a81c654919d52f3aa1 100644 |
--- a/src/mips/assembler-mips-inl.h |
+++ b/src/mips/assembler-mips-inl.h |
@@ -424,8 +424,7 @@ void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) { |
} else if (RelocInfo::IsCodeAgeSequence(mode)) { |
visitor->VisitCodeAgeSequence(this); |
} else if (RelocInfo::IsDebugBreakSlot(mode) && |
- IsPatchedDebugBreakSlotSequence() && |
- isolate->debug()->has_break_points()) { |
+ IsPatchedDebugBreakSlotSequence()) { |
visitor->VisitDebugTarget(this); |
} else if (RelocInfo::IsRuntimeEntry(mode)) { |
visitor->VisitRuntimeEntry(this); |
@@ -449,8 +448,7 @@ void RelocInfo::Visit(Heap* heap) { |
StaticVisitor::VisitInternalReference(this); |
} else if (RelocInfo::IsCodeAgeSequence(mode)) { |
StaticVisitor::VisitCodeAgeSequence(heap, this); |
- } else if (heap->isolate()->debug()->has_break_points() && |
- RelocInfo::IsDebugBreakSlot(mode) && |
+ } else if (RelocInfo::IsDebugBreakSlot(mode) && |
IsPatchedDebugBreakSlotSequence()) { |
StaticVisitor::VisitDebugTarget(heap, this); |
} else if (RelocInfo::IsRuntimeEntry(mode)) { |