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

Unified Diff: runtime/vm/locations.cc

Issue 10843006: Remove the default contains_call parameter on location summaries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename. 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/assembler_x64.cc ('K') | « runtime/vm/locations.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/locations.cc
diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc
index b8cabdd3282a745643bb132749e4537b532f0c47..27b375cbc3d37236500a64d843e94f05f96cd706 100644
--- a/runtime/vm/locations.cc
+++ b/runtime/vm/locations.cc
@@ -12,11 +12,11 @@ namespace dart {
LocationSummary::LocationSummary(intptr_t input_count,
intptr_t temp_count,
- ContainsCall call)
+ LocationSummary::ContainsCall contains_call)
: input_locations_(input_count),
temp_locations_(temp_count),
output_location_(),
- is_call_(call == kCall) {
+ is_call_(contains_call == LocationSummary::kCall) {
for (intptr_t i = 0; i < input_count; i++) {
input_locations_.Add(Location());
}
@@ -26,12 +26,11 @@ LocationSummary::LocationSummary(intptr_t input_count,
}
-LocationSummary* LocationSummary::Make(intptr_t input_count,
- Location out,
- ContainsCall contains_call) {
- LocationSummary* summary = new LocationSummary(input_count,
- 0,
- contains_call);
+LocationSummary* LocationSummary::Make(
+ intptr_t input_count,
+ Location out,
+ LocationSummary::ContainsCall contains_call) {
+ LocationSummary* summary = new LocationSummary(input_count, 0, contains_call);
for (intptr_t i = 0; i < input_count; i++) {
summary->set_in(i, Location::RequiresRegister());
}
@@ -102,4 +101,3 @@ void LocationSummary::PrintTo(BufferFormatter* f) const {
}
} // namespace dart
-
« runtime/vm/assembler_x64.cc ('K') | « runtime/vm/locations.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698