| Index: src/debug/debug-scopes.cc
|
| diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc
|
| index 0e81498c5d8be7cd2a5d35f36a8a238b4f8eca95..de96034abd8e5dd5b614a7a7470424031454a9bd 100644
|
| --- a/src/debug/debug-scopes.cc
|
| +++ b/src/debug/debug-scopes.cc
|
| @@ -61,10 +61,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();
|
| }
|
|
|