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

Unified Diff: runtime/vm/compiler.cc

Issue 11269040: More inlining flags and tuned heuristics. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improved heuristics. Created 8 years, 1 month 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 | runtime/vm/flow_graph.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index 55430bda80f153c2c897301e67be814574647c82..16c426eba141ae4d8b5e84f5742acd4eb54bcc57 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -148,7 +148,8 @@ static bool CompileParsedFunctionHelper(const ParsedFunction& parsed_function,
// Build the flow graph.
FlowGraphBuilder builder(parsed_function);
- flow_graph = builder.BuildGraph(FlowGraphBuilder::kNotInlining);
+ flow_graph = builder.BuildGraph(FlowGraphBuilder::kNotInlining,
+ 0); // The initial loop depth is zero.
}
if (optimized) {
« no previous file with comments | « no previous file | runtime/vm/flow_graph.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698