| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 3698a322c046681ec8471a14fa3db2110a8b678a..3451e0ddcc08fa56211737612fb539046978db6d 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -58,6 +58,7 @@
|
| #include "hydrogen-uint32-analysis.h"
|
| #include "lithium-allocator.h"
|
| #include "parser.h"
|
| +#include "feedbackslots.h"
|
| #include "runtime.h"
|
| #include "scopeinfo.h"
|
| #include "scopes.h"
|
| @@ -7166,7 +7167,8 @@ bool HOptimizedGraphBuilder::TryInline(Handle<JSFunction> target,
|
| // Parse and allocate variables.
|
| CompilationInfo target_info(target, zone());
|
| Handle<SharedFunctionInfo> target_shared(target->shared());
|
| - if (!Parser::Parse(&target_info) || !Scope::Analyze(&target_info)) {
|
| + if (!Parser::Parse(&target_info) || !Scope::Analyze(&target_info) ||
|
| + !FeedbackSlotAllocator::Run(&target_info)) {
|
| if (target_info.isolate()->has_pending_exception()) {
|
| // Parse or scope error, never optimize this function.
|
| SetStackOverflow();
|
|
|