Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: runtime/vm/pages.cc

Issue 2902313004: CoreJIT snapshots without training. (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/pages.cc
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc
index beb81891ffcbe2bc6e1f9cbf5e4f95ee79864864..9c52356321181e21b265ba2db60c021b566e4d9c 100644
--- a/runtime/vm/pages.cc
+++ b/runtime/vm/pages.cc
@@ -246,7 +246,7 @@ HeapPage* PageSpace::AllocatePage(HeapPage::PageType type) {
} else {
// Should not allocate executable pages when running from a precompiled
// snapshot.
- ASSERT(Dart::vm_snapshot_kind() != Snapshot::kAppAOT);
+ ASSERT(Dart::vm_snapshot_kind() != Snapshot::kFullAOT);
if (exec_pages_ == NULL) {
exec_pages_ = page;

Powered by Google App Engine
This is Rietveld 408576698