Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index 55b4a839e23478e3d7288b6fd5c616b2caca62a4..d3f3b905151a02ab82f5d626353ad30b487522db 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -86,7 +86,6 @@ int BreakLocation::Iterator::GetModeMask(BreakLocatorType type) { |
mask |= RelocInfo::ModeMask(RelocInfo::STATEMENT_POSITION); |
mask |= RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT_AT_RETURN); |
mask |= RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT_AT_CALL); |
- mask |= RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT_AT_CONSTRUCT_CALL); |
if (type == ALL_BREAK_LOCATIONS) { |
mask |= RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT_AT_POSITION); |
mask |= RelocInfo::ModeMask(RelocInfo::DEBUGGER_STATEMENT); |
@@ -300,11 +299,6 @@ void BreakLocation::ClearDebugBreak() { |
} |
-bool BreakLocation::IsStepInLocation() const { |
- return IsConstructCall() || IsCall(); |
-} |
- |
- |
bool BreakLocation::IsDebugBreak() const { |
if (IsDebugBreakSlot()) { |
return rinfo().IsPatchedDebugBreakSlotSequence(); |
@@ -1606,7 +1600,7 @@ void Debug::GetStepinPositions(JavaScriptFrame* frame, StackFrame::Id frame_id, |
if (frame_it.frame()->id() != frame_id) continue; |
} |
} |
- if (location.IsStepInLocation()) results_out->Add(location.position()); |
+ if (location.IsCall()) results_out->Add(location.position()); |
} |
} |