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

Unified Diff: runtime/vm/compiler.cc

Issue 10666026: Simple iterative liveness analysis over SSA. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 90c106e8ee2901944fb45f833efa2a594cb093cf..947edf70355a5dfed9ab8e5c1e04b0d2b223e3e6 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -197,9 +197,12 @@ static bool CompileWithNewCompiler(
optimizer.ApplyICData();
if (FLAG_use_ssa) {
+ printf("====================================\n");
srdjan 2012/06/25 17:30:05 remove print
// Perform register allocation on the SSA graph.
- FlowGraphAllocator allocator(block_order);
+ FlowGraphAllocator allocator(graph_builder.postorder_block_entries(),
+ graph_builder.current_ssa_temp_index());
allocator.ResolveConstraints();
+ allocator.AnalyzeLiveness();
// Temporary bailout until we support code generation from SSA form.
graph_builder.Bailout("No SSA code generation support.");

Powered by Google App Engine
This is Rietveld 408576698