Index: runtime/vm/regexp_assembler_ir.cc |
diff --git a/runtime/vm/regexp_assembler_ir.cc b/runtime/vm/regexp_assembler_ir.cc |
index 6f656dbb9e86573ecc157815f5d92ba451ef7645..aac090e27d315d93808808cedc53a3a66fcdc437 100644 |
--- a/runtime/vm/regexp_assembler_ir.cc |
+++ b/runtime/vm/regexp_assembler_ir.cc |
@@ -431,7 +431,7 @@ ConstantInstr* IRRegExpMacroAssembler::WordCharacterMapConstant() const { |
const Class& regexp_class = Class::Handle(Z, |
lib.LookupClassAllowPrivate(Symbols::_RegExp())); |
const Field& word_character_field = Field::ZoneHandle(Z, |
- regexp_class.LookupStaticField(Symbols::_wordCharacterMap())); |
+ regexp_class.LookupStaticFieldAllowPrivate(Symbols::_wordCharacterMap())); |
ASSERT(!word_character_field.IsNull()); |
if (word_character_field.IsUninitialized()) { |