Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 4c64b0bd0681e14f7d4f4edcdff116e043f0d270..e70f2eed2c638df308ebf23d422e3a4941e09252 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -292,8 +292,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 (IsRuntimeEntry(mode)) { |
visitor->VisitRuntimeEntry(this); |
@@ -317,8 +316,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 (IsRuntimeEntry(mode)) { |