| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index d058ae0a59ecc473a97a28a47e0a297aa2596c09..c2bdd6609bf600cf9adab235ce9fbe0aa367f335 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -7845,7 +7845,8 @@ bool HOptimizedGraphBuilder::TryInline(Handle<JSFunction> target,
|
| // step, but don't transfer ownership to target_info.
|
| target_info.SetAstValueFactory(top_info()->ast_value_factory(), false);
|
| Handle<SharedFunctionInfo> target_shared(target->shared());
|
| - if (!Compiler::ParseAndAnalyze(&target_info)) {
|
| + if (!Parser::Parse(&target_info) || !Scope::Analyze(&target_info) ||
|
| + !AstNumbering::Renumber(target_info.function(), target_info.zone())) {
|
| if (target_info.isolate()->has_pending_exception()) {
|
| // Parse or scope error, never optimize this function.
|
| SetStackOverflow();
|
|
|