Index: src/debug/debug-scopes.cc |
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc |
index 693cde7c2f32488c6575c4bb7c0ecac12aa735f0..1de0d9d4a03e46cd0d8b63f309e5c8ce75730852 100644 |
--- a/src/debug/debug-scopes.cc |
+++ b/src/debug/debug-scopes.cc |
@@ -107,7 +107,7 @@ |
} |
} else { |
// Inner function. |
- info.reset(new ParseInfo(&zone, shared_info)); |
+ info.reset(new ParseInfo(&zone, function)); |
} |
if (Parser::ParseStatic(info.get()) && Rewriter::Rewrite(info.get())) { |
DeclarationScope* scope = info->literal()->scope(); |