Index: runtime/vm/intrinsifier_mips.cc |
diff --git a/runtime/vm/intrinsifier_mips.cc b/runtime/vm/intrinsifier_mips.cc |
index 73d9ccdeaf444cc71493b48b36aa54604fb41ccf..93a800121af9c6d786f4a7d946d94667cb401929 100644 |
--- a/runtime/vm/intrinsifier_mips.cc |
+++ b/runtime/vm/intrinsifier_mips.cc |
@@ -1634,14 +1634,16 @@ void Intrinsifier::Random_nextState(Assembler* assembler) { |
random_class.LookupStaticField(Symbols::_A())); |
ASSERT(!random_A_field.IsNull()); |
ASSERT(random_A_field.is_const()); |
- const Instance& a_value = Instance::Handle(random_A_field.value()); |
+ const Instance& a_value = Instance::Handle(random_A_field.StaticValue()); |
const int64_t a_int_value = Integer::Cast(a_value).AsInt64Value(); |
// 'a_int_value' is a mask. |
ASSERT(Utils::IsUint(32, a_int_value)); |
int32_t a_int32_value = static_cast<int32_t>(a_int_value); |
- __ lw(T0, Address(SP, 0 * kWordSize)); // Receiver. |
- __ lw(T1, FieldAddress(T0, state_field.Offset())); // Field '_state'. |
+ // Receiver. |
+ __ lw(T0, Address(SP, 0 * kWordSize)); |
+ // Field '_state'. |
+ __ lw(T1, FieldAddress(T0, state_field.Offset())); |
// Addresses of _state[0] and _state[1]. |
const intptr_t scale = Instance::ElementSizeFor(kTypedDataUint32ArrayCid); |