| Index: src/hydrogen.cc
|
| diff --git a/src/hydrogen.cc b/src/hydrogen.cc
|
| index 7291bd1786c5d64bb4d3682a942b907854f2a37b..4a6d30398787d17e04c798f2558ae1df30897bda 100644
|
| --- a/src/hydrogen.cc
|
| +++ b/src/hydrogen.cc
|
| @@ -7886,8 +7886,7 @@ bool HOptimizedGraphBuilder::TryInline(Handle<JSFunction> target,
|
|
|
| // We don't want to add more than a certain number of nodes from inlining.
|
| // Always inline small methods (<= 10 nodes).
|
| - if (nodes_added > 10 &&
|
| - inlined_count_ > Min(FLAG_max_inlined_nodes_cumulative,
|
| + if (inlined_count_ > Min(FLAG_max_inlined_nodes_cumulative,
|
| kUnlimitedMaxInlinedNodesCumulative)) {
|
| TraceInline(target, caller, "cumulative AST node limit reached");
|
| return false;
|
|
|