| 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
|
| -
|
|
|