Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: src/hydrogen.cc

Issue 892833003: Partial revert of crrev.com/900553003, to unbreak arm64 build. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698