Index: runtime/vm/pages.cc |
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc |
index 3601913098b0d9c2301c7c886e98e46cf4725a2f..4fb4efbc83e487722bfd602fd5329815239bbc77 100644 |
--- a/runtime/vm/pages.cc |
+++ b/runtime/vm/pages.cc |
@@ -227,7 +227,7 @@ HeapPage* PageSpace::AllocatePage(HeapPage::PageType type) { |
} else { |
// Should not allocate executable pages when running from a precompiled |
// snapshot. |
- ASSERT(Dart::snapshot_kind() != Snapshot::kAppNoJIT); |
+ ASSERT(Dart::snapshot_kind() != Snapshot::kAppAOT); |
if (exec_pages_ == NULL) { |
exec_pages_ = page; |