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

Unified Diff: runtime/vm/flow_graph_allocator.cc

Issue 10829036: Change the stack map search to require an exact match. (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 | « runtime/vm/code_descriptors_test.cc ('k') | runtime/vm/object.cc » ('j') | 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 ec48c20003803d5cb19a44a57421b8dd1584367a..3e43328e0f1f3ae68cc659521e2e4f7f1c422b35 100644
--- a/runtime/vm/flow_graph_allocator.cc
+++ b/runtime/vm/flow_graph_allocator.cc
@@ -1095,7 +1095,7 @@ intptr_t FlowGraphAllocator::AllocateSpillSlotFor(LiveRange* range) {
void FlowGraphAllocator::Spill(LiveRange* range) {
const intptr_t spill_index = AllocateSpillSlotFor(range);
- ASSERT(spill_slots_[spill_index] < range->Start());
+ ASSERT(spill_slots_[spill_index] <= range->Start());
spill_slots_[spill_index] = range->End();
range->set_assigned_location(Location::SpillSlot(spill_index));
ConvertAllUses(range);
« no previous file with comments | « runtime/vm/code_descriptors_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698