Index: src/debug/debug-scopes.cc |
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc |
index 82fd1937ba2afb6b961a887cce32a2e6a4cfb368..e1d4487b275da273580c0eb028f2d5ebb1c24d1b 100644 |
--- a/src/debug/debug-scopes.cc |
+++ b/src/debug/debug-scopes.cc |
@@ -58,10 +58,9 @@ ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, |
// inspect the function scope. |
// This can only happen if we set a break point inside right before the |
// return, which requires a debug info to be available. |
- Handle<DebugInfo> debug_info(shared_info->GetDebugInfo()); |
// Find the break point where execution has stopped. |
- BreakLocation location = BreakLocation::FromFrame(debug_info, GetFrame()); |
+ BreakLocation location = BreakLocation::FromFrame(GetFrame()); |
ignore_nested_scopes = location.IsReturn(); |
} |