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

Unified Diff: runtime/vm/raw_object.h

Issue 1938653002: JIT precompilated snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('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 f3a3a73a003f74db220700dc94362730ad04211c..bada55697e0f465b212e51cc6692285ea029a340 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -712,6 +712,8 @@ class RawClass : public RawObject {
case Snapshot::kAppNoJIT:
return reinterpret_cast<RawObject**>(&ptr()->direct_subclasses_);
case Snapshot::kMessage:
+ case Snapshot::kNone:
+ case Snapshot::kInvalid:
break;
}
UNREACHABLE();
@@ -940,6 +942,8 @@ class RawField : public RawObject {
case Snapshot::kAppNoJIT:
return reinterpret_cast<RawObject**>(&ptr()->initializer_);
case Snapshot::kMessage:
+ case Snapshot::kNone:
+ case Snapshot::kInvalid:
break;
}
UNREACHABLE();
@@ -1020,6 +1024,8 @@ class RawScript : public RawObject {
case Snapshot::kScript:
return reinterpret_cast<RawObject**>(&ptr()->tokens_);
case Snapshot::kMessage:
+ case Snapshot::kNone:
+ case Snapshot::kInvalid:
break;
}
UNREACHABLE();
@@ -1506,6 +1512,8 @@ class RawICData : public RawObject {
case Snapshot::kAppWithJIT:
return to();
case Snapshot::kMessage:
+ case Snapshot::kNone:
+ case Snapshot::kInvalid:
break;
}
UNREACHABLE();
@@ -1637,6 +1645,8 @@ class RawLibraryPrefix : public RawInstance {
case Snapshot::kAppNoJIT:
return reinterpret_cast<RawObject**>(&ptr()->importer_);
case Snapshot::kMessage:
+ case Snapshot::kNone:
+ case Snapshot::kInvalid:
break;
}
UNREACHABLE();
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698