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

Unified Diff: runtime/vm/locations.h

Issue 10806099: Some cleanups. (Closed) Base URL: http://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
« runtime/vm/flow_graph_allocator.h ('K') | « runtime/vm/il_printer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.h
===================================================================
--- runtime/vm/locations.h (revision 9862)
+++ runtime/vm/locations.h (working copy)
@@ -218,6 +218,7 @@
}
void set_in(intptr_t index, Location loc) {
+ ASSERT(!is_call() || loc.IsRegister());
input_locations_[index] = loc;
}
@@ -234,6 +235,7 @@
}
void set_temp(intptr_t index, Location loc) {
+ ASSERT(!is_call() || loc.IsRegister());
temp_locations_[index] = loc;
}
@@ -247,6 +249,7 @@
void set_out(Location loc) {
+ ASSERT(!is_call() || loc.IsRegister());
output_location_ = loc;
}
« runtime/vm/flow_graph_allocator.h ('K') | « runtime/vm/il_printer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698