Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index a1a5ee196800f04cdd918b319d40db56b73e989c..f8c123867ae0493337a344499898dc32c33f0ba3 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1208,14 +1208,14 @@ class ScopeIterator { |
info.MarkAsEval(); |
info.SetContext(Handle<Context>(function_->context())); |
} |
- if (Parser::Parse(&info) && Scope::Analyze(&info)) { |
+ if (Parser::ParseStatic(&info) && Scope::Analyze(&info)) { |
scope = info.function()->scope(); |
} |
RetrieveScopeChain(scope, shared_info); |
} else { |
// Function code |
CompilationInfoWithZone info(shared_info); |
- if (Parser::Parse(&info) && Scope::Analyze(&info)) { |
+ if (Parser::ParseStatic(&info) && Scope::Analyze(&info)) { |
scope = info.function()->scope(); |
} |
RetrieveScopeChain(scope, shared_info); |