Reviewers: Toon Verwaest,

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

[email protected]
BUG=454625
NOTREECHECKS=true

Please review this at https://codereview.chromium.org/892833003/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -2 lines):
  M src/hydrogen.cc


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;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to