Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: runtime/vm/regexp_assembler_ir.cc

Issue 1760763002: Turn on background compilation (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Disable background compilation of regexp compilation Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flag_list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « runtime/vm/flag_list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698