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

Unified Diff: runtime/vm/clustered_snapshot.h

Issue 2580823003: Rename snapshot kind enum values kAppWithJIT -> kAppJIT, kAppNoJIT -> kAppAOT. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698