| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 752ff47fe547acd8722300298aa3640970263701..052e09483229f60f25bb714da7f5411a8a07715b 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -1577,8 +1577,7 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfo(
|
| // called.
|
| info.EnsureFeedbackVector();
|
| scope_info = Handle<ScopeInfo>(ScopeInfo::Empty(isolate));
|
| - } else if (Renumber(info.parse_info()) &&
|
| - FullCodeGenerator::MakeCode(&info)) {
|
| + } else if (Renumber(info.parse_info()) && GenerateBaselineCode(&info)) {
|
| // Code generation will ensure that the feedback vector is present and
|
| // appropriately sized.
|
| DCHECK(!info.code().is_null());
|
|
|