| Index: src/debug/debug-scopes.cc
|
| diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc
|
| index d469cf5dd9b2897d288e79adbe28165ab3062871..d1a755e150342a1b9fbde9da41a98e9881e9eb8e 100644
|
| --- a/src/debug/debug-scopes.cc
|
| +++ b/src/debug/debug-scopes.cc
|
| @@ -106,7 +106,7 @@ ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector,
|
| }
|
| } else {
|
| // Inner function.
|
| - info.reset(new ParseInfo(&zone, function));
|
| + info.reset(new ParseInfo(&zone, shared_info));
|
| }
|
| if (Parser::ParseStatic(info.get()) && Rewriter::Rewrite(info.get())) {
|
| DeclarationScope* scope = info->literal()->scope();
|
|
|