Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index a885508499a0f0c5e6eb391377c69b5f4d237261..13c2b686ba2ada7d417bdada49ba38efb8234fbd 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -1195,7 +1195,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::kAppAOT); |
+ ASSERT(Dart::vm_snapshot_kind() != Snapshot::kAppAOT); |
const Function& initializer = Function::Handle( |
Z, CompileStaticInitializer(field, /* compute_type = */ true)); |
ASSERT(!initializer.IsNull()); |