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

Unified Diff: runtime/vm/compiler.cc

Issue 10916228: Inline monomorphic calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | runtime/vm/flow_graph.h » ('j') | runtime/vm/flow_graph.cc » ('J')
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 91eda5f1383052abc122723a185daabcb9d1e3e8..01da2c52fffd4f1b6802210bdfb25a9f8b32da39 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -163,10 +163,10 @@ static bool CompileParsedFunctionHelper(const ParsedFunction& parsed_function,
// Build the flow graph.
FlowGraphBuilder builder(parsed_function);
- flow_graph = builder.BuildGraph();
+ flow_graph = builder.BuildGraph(FlowGraphBuilder::kNotInlining);
// Transform to SSA.
- if (optimized) flow_graph->ComputeSSA();
+ if (optimized) flow_graph->ComputeSSA(0); // Start at virtual register 0.
if (FLAG_print_flow_graph) {
OS::Print("Before Optimizations\n");
« no previous file with comments | « no previous file | runtime/vm/flow_graph.h » ('j') | runtime/vm/flow_graph.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698