Index: runtime/vm/intrinsifier_arm64.cc |
diff --git a/runtime/vm/intrinsifier_arm64.cc b/runtime/vm/intrinsifier_arm64.cc |
index c8b4df7834a0516239a22367abda6391c5e4b760..3e0f6551ac613d9f1bdc605deb328c594a4c5418 100644 |
--- a/runtime/vm/intrinsifier_arm64.cc |
+++ b/runtime/vm/intrinsifier_arm64.cc |
@@ -1617,11 +1617,13 @@ 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(); |
- __ ldr(R0, Address(SP, 0 * kWordSize)); // Receiver. |
- __ ldr(R1, FieldAddress(R0, state_field.Offset())); // Field '_state'. |
+ // Receiver. |
+ __ ldr(R0, Address(SP, 0 * kWordSize)); |
+ // Field '_state'. |
+ __ ldr(R1, FieldAddress(R0, state_field.Offset())); |
// Addresses of _state[0]. |
const int64_t disp = |