Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index a7bca97a964553977010b2211b4cb71fd531dcf4..553f45fa0dcafc77fd62454009b25cda828e620f 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1218,7 +1218,7 @@ class ScopeIterator { |
RetrieveScopeChain(scope, shared_info); |
} else { |
// Function code |
- ParseInfo info(&zone, shared_info); |
+ ParseInfo info(&zone, function_); |
if (Parser::ParseStatic(&info) && Scope::Analyze(&info)) { |
scope = info.function()->scope(); |
} |