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