Index: src/debug/debug-scopes.cc |
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc |
index 8ce590e312c9ee123dac928e4aa61d04d57eb2f5..6b8d757038be09b4115a894b9d99d0d97ae47583 100644 |
--- a/src/debug/debug-scopes.cc |
+++ b/src/debug/debug-scopes.cc |
@@ -115,7 +115,7 @@ ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, |
CollectNonLocals(info.get(), scope); |
} |
if (!ignore_nested_scopes) { |
- DeclarationScope::AnalyzeForDebugger(info.get()); |
+ DeclarationScope::Analyze(info.get(), AnalyzeMode::kDebugger); |
RetrieveScopeChain(scope); |
} |
} else if (!ignore_nested_scopes) { |