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

Unified Diff: runtime/vm/raw_object.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 | « runtime/vm/precompiler.cc ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 25a54b802b36f1b7377307a2f5587d4c704411a8..7c9732024593b3ff36259482a9b9cb17f9206edf 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -673,8 +673,8 @@ class RawClass : public RawObject {
switch (kind) {
case Snapshot::kCore:
case Snapshot::kScript:
- case Snapshot::kAppWithJIT:
- case Snapshot::kAppNoJIT:
+ case Snapshot::kAppJIT:
+ case Snapshot::kAppAOT:
return reinterpret_cast<RawObject**>(&ptr()->direct_subclasses_);
case Snapshot::kMessage:
case Snapshot::kNone:
@@ -910,9 +910,9 @@ class RawField : public RawObject {
case Snapshot::kCore:
case Snapshot::kScript:
return reinterpret_cast<RawObject**>(&ptr()->guarded_list_length_);
- case Snapshot::kAppWithJIT:
+ case Snapshot::kAppJIT:
return reinterpret_cast<RawObject**>(&ptr()->dependent_code_);
- case Snapshot::kAppNoJIT:
+ case Snapshot::kAppAOT:
return reinterpret_cast<RawObject**>(&ptr()->initializer_);
case Snapshot::kMessage:
case Snapshot::kNone:
@@ -991,10 +991,10 @@ class RawScript : public RawObject {
RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->source_); }
RawObject** to_snapshot(Snapshot::Kind kind) {
switch (kind) {
- case Snapshot::kAppNoJIT:
+ case Snapshot::kAppAOT:
return reinterpret_cast<RawObject**>(&ptr()->url_);
case Snapshot::kCore:
- case Snapshot::kAppWithJIT:
+ case Snapshot::kAppJIT:
case Snapshot::kScript:
return reinterpret_cast<RawObject**>(&ptr()->tokens_);
case Snapshot::kMessage:
@@ -1492,11 +1492,11 @@ class RawICData : public RawObject {
RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->owner_); }
RawObject** to_snapshot(Snapshot::Kind kind) {
switch (kind) {
- case Snapshot::kAppNoJIT:
+ case Snapshot::kAppAOT:
return reinterpret_cast<RawObject**>(&ptr()->args_descriptor_);
case Snapshot::kCore:
case Snapshot::kScript:
- case Snapshot::kAppWithJIT:
+ case Snapshot::kAppJIT:
return to();
case Snapshot::kMessage:
case Snapshot::kNone:
@@ -1616,9 +1616,9 @@ class RawLibraryPrefix : public RawInstance {
switch (kind) {
case Snapshot::kCore:
case Snapshot::kScript:
- case Snapshot::kAppWithJIT:
+ case Snapshot::kAppJIT:
return reinterpret_cast<RawObject**>(&ptr()->imports_);
- case Snapshot::kAppNoJIT:
+ case Snapshot::kAppAOT:
return reinterpret_cast<RawObject**>(&ptr()->importer_);
case Snapshot::kMessage:
case Snapshot::kNone:
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698