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

Unified Diff: runtime/vm/locations.h

Issue 10824308: Rename is_call to always_calls and contains_call to can_call. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.h
diff --git a/runtime/vm/locations.h b/runtime/vm/locations.h
index cad43ea58b04f3b02298bd6f42ca9a3b95c5d945..41a9bdc951f9196818c342392b046c93959903c1 100644
--- a/runtime/vm/locations.h
+++ b/runtime/vm/locations.h
@@ -255,7 +255,7 @@ class LocationSummary : public ZoneAllocated {
}
void set_in(intptr_t index, Location loc) {
- ASSERT(!is_call() || loc.IsRegister());
+ ASSERT(!always_calls() || loc.IsRegister());
input_locations_[index] = loc;
}
@@ -272,7 +272,7 @@ class LocationSummary : public ZoneAllocated {
}
void set_temp(intptr_t index, Location loc) {
- ASSERT(!is_call() || loc.IsRegister());
+ ASSERT(!always_calls() || loc.IsRegister());
temp_locations_[index] = loc;
}
@@ -285,17 +285,17 @@ class LocationSummary : public ZoneAllocated {
}
void set_out(Location loc) {
- ASSERT(!is_call() || loc.IsRegister());
+ ASSERT(!always_calls() || loc.IsRegister());
output_location_ = loc;
}
BitmapBuilder* stack_bitmap() const { return stack_bitmap_; }
- bool is_call() const {
+ bool always_calls() const {
return contains_call_ == kCall;
}
- bool contains_call() const {
+ bool can_call() {
return contains_call_ != kNoCall;
}
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/locations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698