Index: runtime/vm/clustered_snapshot.h |
diff --git a/runtime/vm/clustered_snapshot.h b/runtime/vm/clustered_snapshot.h |
index 21fc29cee8ff46e8be2527fedffb1d0feba5db7e..4f7df53f8a79b7352eb1bc2217b7d9d93bbeb3d1 100644 |
--- a/runtime/vm/clustered_snapshot.h |
+++ b/runtime/vm/clustered_snapshot.h |
@@ -448,7 +448,7 @@ class VmIsolateSnapshotReader { |
size_(size), |
instructions_buffer_(instructions_buffer), |
data_buffer_(data_buffer) { |
- thread->isolate()->set_compilation_allowed(kind != Snapshot::kAppNoJIT); |
+ thread->isolate()->set_compilation_allowed(kind != Snapshot::kAppAOT); |
} |
~VmIsolateSnapshotReader() {} |
@@ -481,7 +481,7 @@ class IsolateSnapshotReader { |
size_(size), |
instructions_buffer_(instructions_buffer), |
data_buffer_(data_buffer) { |
- thread->isolate()->set_compilation_allowed(kind != Snapshot::kAppNoJIT); |
+ thread->isolate()->set_compilation_allowed(kind != Snapshot::kAppAOT); |
} |
~IsolateSnapshotReader() {} |