Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index b487504748c2e2436d7610608154a271366764f8..e2eb627d851bc1181963771fa1b785313261bdb7 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -1103,7 +1103,7 @@ void Precompiler::AddField(const Field& field) { |
if (FLAG_trace_precompiler) { |
THR_Print("Precompiling initializer for %s\n", field.ToCString()); |
} |
- ASSERT(Dart::snapshot_kind() != Snapshot::kAppNoJIT); |
+ ASSERT(Dart::snapshot_kind() != Snapshot::kAppAOT); |
const Function& initializer = Function::Handle( |
Z, CompileStaticInitializer(field, /* compute_type = */ true)); |
ASSERT(!initializer.IsNull()); |