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

Unified Diff: runtime/vm/object_store.h

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/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index 7a22e960569baea964e4bef0e2a0a4dcd10178a5..23e067ca474bde9cf843d1414634c357f5440c5a 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -604,10 +604,10 @@ class ObjectStore {
}
RawObject** to_snapshot(Snapshot::Kind kind) {
switch (kind) {
- case Snapshot::kCore:
+ case Snapshot::kFull:
return reinterpret_cast<RawObject**>(&library_load_error_table_);
- case Snapshot::kAppJIT:
- case Snapshot::kAppAOT:
+ case Snapshot::kFullJIT:
+ case Snapshot::kFullAOT:
return to();
case Snapshot::kScript:
case Snapshot::kMessage:

Powered by Google App Engine
This is Rietveld 408576698