Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index 6736835c9d29eae68e0eec1c454d62ac95638b30..5658980b7d86317e9e888daedab1c508b7ad9d0c 100644 |
--- a/runtime/vm/dart.cc |
+++ b/runtime/vm/dart.cc |
@@ -208,7 +208,7 @@ char* Dart::InitOnce(const uint8_t* vm_isolate_snapshot, |
snapshot_kind_ = snapshot->kind(); |
if (Snapshot::IncludesCode(snapshot_kind_)) { |
- if (snapshot_kind_ == Snapshot::kAppNoJIT) { |
+ if (snapshot_kind_ == Snapshot::kAppAOT) { |
#if defined(DART_PRECOMPILED_RUNTIME) |
vm_isolate_->set_compilation_allowed(false); |
if (!FLAG_precompiled_runtime) { |