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

Unified Diff: runtime/vm/compiler.cc

Issue 10875030: Add support for XMM registers in SSA code generation pipeline. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased, addressed Florian's comments Created 8 years, 4 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
Index: runtime/vm/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index b3f9ad3e80ee5f329a8e474fbd31e7f1851fd8be..10183565a9362c01cb6335fa0c489dd0f55e180c 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -177,7 +177,13 @@ static bool CompileParsedFunctionHelper(const ParsedFunction& parsed_function,
}
if (optimized) {
- FlowGraphOptimizer optimizer(*flow_graph);
+ // TODO(vegorov): we need to compute uses for the
+ // purposes of unboxing. Move unboxing to a later
+ // stage.
+ // Compute the use lists.
+ flow_graph->ComputeUseLists();
+
+ FlowGraphOptimizer optimizer(flow_graph);
optimizer.ApplyICData();
// Compute the use lists.

Powered by Google App Engine
This is Rietveld 408576698