Index: runtime/vm/intrinsifier_arm64.cc |
diff --git a/runtime/vm/intrinsifier_arm64.cc b/runtime/vm/intrinsifier_arm64.cc |
index e4e5b1107782e5ce7362dbfa8e132149a97e9e59..fd0c0538efaf361a060e568820177df9ca31feef 100644 |
--- a/runtime/vm/intrinsifier_arm64.cc |
+++ b/runtime/vm/intrinsifier_arm64.cc |
@@ -1582,10 +1582,10 @@ void Intrinsifier::Random_nextState(Assembler* assembler) { |
math_lib.LookupClassAllowPrivate(Symbols::_Random())); |
ASSERT(!random_class.IsNull()); |
const Field& state_field = Field::ZoneHandle( |
- random_class.LookupInstanceField(Symbols::_state())); |
+ random_class.LookupInstanceFieldAllowPrivate(Symbols::_state())); |
ASSERT(!state_field.IsNull()); |
const Field& random_A_field = Field::ZoneHandle( |
- random_class.LookupStaticField(Symbols::_A())); |
+ random_class.LookupStaticFieldAllowPrivate(Symbols::_A())); |
ASSERT(!random_A_field.IsNull()); |
ASSERT(random_A_field.is_const()); |
const Instance& a_value = Instance::Handle(random_A_field.StaticValue()); |