| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index bb56296a22def95346c2a2379d7cd3811300c7bb..48add19f392d12c423eee606704a01ddba121e18 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -7992,8 +7992,7 @@ bool HOptimizedGraphBuilder::TryInline(CallKind call_kind,
|
| // Parse and allocate variables.
|
| CompilationInfo target_info(target, zone());
|
| Handle<SharedFunctionInfo> target_shared(target->shared());
|
| - if (!ParserApi::Parse(&target_info, kNoParsingFlags) ||
|
| - !Scope::Analyze(&target_info)) {
|
| + if (!Parser::Parse(&target_info) || !Scope::Analyze(&target_info)) {
|
| if (target_info.isolate()->has_pending_exception()) {
|
| // Parse or scope error, never optimize this function.
|
| SetStackOverflow();
|
|
|