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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 11233036: Enable recursive inlining. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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: runtime/vm/flow_graph_inliner.cc
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc
index 134184ef147bfcff5591de2a7ed0ffd992aa99f1..f018a738c84fccc7cda3df7697d83f13b3a6194f 100644
--- a/runtime/vm/flow_graph_inliner.cc
+++ b/runtime/vm/flow_graph_inliner.cc
@@ -22,8 +22,8 @@ DEFINE_FLAG(charp, inlining_filter, NULL, "Inline only in named function");
DEFINE_FLAG(int, inlining_size_threshold, 50,
"Inline only functions with up to threshold instructions (default 50)");
// TODO(srdjan): set to 3 once crash in apidoc.dart is resolved.
-DEFINE_FLAG(int, inlining_depth_threshold, 1,
- "Inline recursively up to threshold depth (default 1)");
+DEFINE_FLAG(int, inlining_depth_threshold, 3,
+ "Inline recursively up to threshold depth (default 3)");
DEFINE_FLAG(bool, inline_control_flow, true,
"Inline functions with control flow.");
DECLARE_FLAG(bool, print_flow_graph);
« 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