Index: runtime/vm/regexp_assembler_ir.cc |
diff --git a/runtime/vm/regexp_assembler_ir.cc b/runtime/vm/regexp_assembler_ir.cc |
index 1d6de6c8a6e67313985ecc0373a7b7a89fb8387a..bd04d7f56b5b471b714686cea46548b0974395aa 100644 |
--- a/runtime/vm/regexp_assembler_ir.cc |
+++ b/runtime/vm/regexp_assembler_ir.cc |
@@ -435,6 +435,7 @@ ConstantInstr* IRRegExpMacroAssembler::WordCharacterMapConstant() const { |
ASSERT(!word_character_field.IsNull()); |
if (word_character_field.IsUninitialized()) { |
+ ASSERT(!Compiler::IsBackgroundCompilation()); |
word_character_field.EvaluateInitializer(); |
} |
ASSERT(!word_character_field.IsUninitialized()); |