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

Unified Diff: src/flag-definitions.h

Issue 2894523005: [turbofan] Add absolute upper bound for small function inlining. (Closed)
Patch Set: Created 3 years, 7 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 | « src/compiler/js-inlining-heuristic.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index 07ca43a72b9567c2f76a7a9d2183480a78c2cb14..5fc510a00897a2ec840515486b6b7940c251dcf5 100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -360,6 +360,9 @@ DEFINE_INT(max_inlined_source_size, 600,
"maximum source size in bytes considered for a single inlining")
DEFINE_INT(max_inlined_nodes, 200,
"maximum number of AST nodes considered for a single inlining")
+DEFINE_INT(max_inlined_nodes_absolute, 1600,
+ "maximum absolute number of AST nodes considered for inlining "
+ "(incl. small functions)")
DEFINE_INT(max_inlined_nodes_cumulative, 400,
"maximum cumulative number of AST nodes considered for inlining")
DEFINE_INT(max_inlined_nodes_small, 10,
« no previous file with comments | « src/compiler/js-inlining-heuristic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698