Index: src/arm64/assembler-arm64-inl.h |
diff --git a/src/arm64/assembler-arm64-inl.h b/src/arm64/assembler-arm64-inl.h |
index ff5c8af0fdd815f5e5221e86b665cd081a6f4c45..729a5d0fde84fe18b2198a8f255cfae00c32fcf1 100644 |
--- a/src/arm64/assembler-arm64-inl.h |
+++ b/src/arm64/assembler-arm64-inl.h |
@@ -884,8 +884,7 @@ void RelocInfo::Visit(Isolate* isolate, ObjectVisitor* visitor) { |
} else if (mode == RelocInfo::INTERNAL_REFERENCE) { |
visitor->VisitInternalReference(this); |
} else if (RelocInfo::IsDebugBreakSlot(mode) && |
- IsPatchedDebugBreakSlotSequence() && |
- isolate->debug()->has_break_points()) { |
+ IsPatchedDebugBreakSlotSequence()) { |
visitor->VisitDebugTarget(this); |
} else if (RelocInfo::IsRuntimeEntry(mode)) { |
visitor->VisitRuntimeEntry(this); |
@@ -906,8 +905,7 @@ void RelocInfo::Visit(Heap* heap) { |
StaticVisitor::VisitExternalReference(this); |
} else if (mode == RelocInfo::INTERNAL_REFERENCE) { |
StaticVisitor::VisitInternalReference(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)) { |