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

Unified Diff: runtime/vm/flow_graph_allocator.cc

Issue 10834002: When evicting interference convert uses from evicted ranges. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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_allocator.cc
diff --git a/runtime/vm/flow_graph_allocator.cc b/runtime/vm/flow_graph_allocator.cc
index 786a62f896da540d5a82aabc17112b337fbc1b83..0113073021a36d539584d19b1be5ff3b2bc0f90f 100644
--- a/runtime/vm/flow_graph_allocator.cc
+++ b/runtime/vm/flow_graph_allocator.cc
@@ -1287,6 +1287,8 @@ void FlowGraphAllocator::AssignNonFreeRegister(LiveRange* unallocated,
if (allocated->vreg() < 0) continue; // Can't be evicted.
if (EvictIntersection(allocated,
Kevin Millikin (Google) 2012/07/25 11:26:32 We probably don't need a line break here.
unallocated)) {
+ ASSERT(allocated->End() <= unallocated->Start());
+ ConvertAllUses(allocated);
cpu_regs_[reg][i] = NULL;
first_evicted = i;
}
« 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