Index: src/debug/debug-scopes.cc |
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc |
index 6a356177f6d8a517e2444e89d2c4c9fab51556af..15a0594009307b74b90b594069b72e84525c82c6 100644 |
--- a/src/debug/debug-scopes.cc |
+++ b/src/debug/debug-scopes.cc |
@@ -63,8 +63,7 @@ ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, |
Address call_pc = GetFrame()->pc() - 1; |
// Find the break point where execution has stopped. |
- BreakLocation location = |
- BreakLocation::FromAddress(debug_info, ALL_BREAK_LOCATIONS, call_pc); |
+ BreakLocation location = BreakLocation::FromAddress(debug_info, call_pc); |
ignore_nested_scopes = location.IsReturn(); |
} |