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

Unified Diff: runtime/vm/flow_graph_inliner.cc

Issue 11232018: Temporary change inlining-depth-threshold to 1 until crash in optimizing compiler is fixed (apdoc.d… (Closed) Base URL: http://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
===================================================================
--- runtime/vm/flow_graph_inliner.cc (revision 13840)
+++ runtime/vm/flow_graph_inliner.cc (working copy)
@@ -21,8 +21,9 @@
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)");
-DEFINE_FLAG(int, inlining_depth_threshold, 3,
- "Inline recursively up to threshold depth (default 3)");
+// 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(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