Index: runtime/vm/intrinsifier_x64.cc |
diff --git a/runtime/vm/intrinsifier_x64.cc b/runtime/vm/intrinsifier_x64.cc |
index b911a990b0fbc8fb9ea9fef0a9a8d80c15ee239a..0fe227f6f505e170f3f36c406db5ec3dd57f8caf 100644 |
--- a/runtime/vm/intrinsifier_x64.cc |
+++ b/runtime/vm/intrinsifier_x64.cc |
@@ -1489,10 +1489,12 @@ 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(); |
- __ movq(RAX, Address(RSP, + 1 * kWordSize)); // Receiver. |
- __ movq(RBX, FieldAddress(RAX, state_field.Offset())); // Field '_state'. |
+ // Receiver. |
+ __ movq(RAX, Address(RSP, + 1 * kWordSize)); |
+ // Field '_state'. |
+ __ movq(RBX, FieldAddress(RAX, state_field.Offset())); |
// Addresses of _state[0] and _state[1]. |
const intptr_t scale = Instance::ElementSizeFor(kTypedDataUint32ArrayCid); |
const intptr_t offset = Instance::DataOffsetFor(kTypedDataUint32ArrayCid); |