| Index: runtime/vm/locations.h
|
| diff --git a/runtime/vm/locations.h b/runtime/vm/locations.h
|
| index 5e92c1612aeb2479b821c8be586eaba67df4f0f6..047b66339cb3968501a3841336c6531864378fe8 100644
|
| --- a/runtime/vm/locations.h
|
| +++ b/runtime/vm/locations.h
|
| @@ -148,7 +148,7 @@ class Location : public ValueObject {
|
| return (value_ & kLocationTagMask) == kConstantTag;
|
| }
|
|
|
| - static Location Constant(ConstantInstr* obj) {
|
| + static Location Constant(const ConstantInstr* obj) {
|
| Location loc(reinterpret_cast<uword>(obj) | kConstantTag);
|
| ASSERT(obj == loc.constant_instruction());
|
| return loc;
|
|
|