| Index: runtime/vm/locations.cc
|
| diff --git a/runtime/vm/locations.cc b/runtime/vm/locations.cc
|
| index 3f7ded17a157430d6763b2c4282761e8e5b0b6a4..04990d65e39c67d0bef54cb959793d75cab874d4 100644
|
| --- a/runtime/vm/locations.cc
|
| +++ b/runtime/vm/locations.cc
|
| @@ -46,7 +46,7 @@ LocationSummary* LocationSummary::Make(
|
|
|
|
|
| Location Location::RegisterOrConstant(Value* value) {
|
| - ConstantInstr* constant = value->definition()->AsConstant();
|
| + ConstantComp* constant = value->definition()->AsConstant();
|
| return (constant != NULL)
|
| ? Location::Constant(constant->value())
|
| : Location::RequiresRegister();
|
| @@ -54,7 +54,7 @@ Location Location::RegisterOrConstant(Value* value) {
|
|
|
|
|
| Location Location::FixedRegisterOrConstant(Value* value, Register reg) {
|
| - ConstantInstr* constant = value->definition()->AsConstant();
|
| + ConstantComp* constant = value->definition()->AsConstant();
|
| return (constant != NULL)
|
| ? Location::Constant(constant->value())
|
| : Location::RegisterLocation(reg);
|
|
|