Commit 8bb468c4 authored by Daniel Vogelheim's avatar Daniel Vogelheim

Partial revert of crrev.com/900553003, to unbreak arm64 build.

R=verwaest@chromium.org
BUG=454625
NOTREECHECKS=true

Review URL: https://codereview.chromium.org/892833003

Cr-Commit-Position: refs/heads/master@{#26407}
parent 9d6f55b0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment