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

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, 8 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/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index 12d5234d300793fde8aa53ac350e64348c00eaa2..30dfb090abe42eff252afe3a79b62715edaa6bd7 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -721,6 +721,7 @@ class RawClass : public RawObject {
case Snapshot::kAppNoJIT:
return reinterpret_cast<RawObject**>(&ptr()->direct_subclasses_);
case Snapshot::kMessage:
+ case Snapshot::kNone:
break;
}
UNREACHABLE();
@@ -949,6 +950,7 @@ class RawField : public RawObject {
case Snapshot::kAppNoJIT:
return reinterpret_cast<RawObject**>(&ptr()->initializer_);
case Snapshot::kMessage:
+ case Snapshot::kNone:
break;
}
UNREACHABLE();
@@ -1029,6 +1031,7 @@ class RawScript : public RawObject {
case Snapshot::kScript:
return reinterpret_cast<RawObject**>(&ptr()->tokens_);
case Snapshot::kMessage:
+ case Snapshot::kNone:
break;
}
UNREACHABLE();
@@ -1515,6 +1518,7 @@ class RawICData : public RawObject {
case Snapshot::kAppWithJIT:
return to();
case Snapshot::kMessage:
+ case Snapshot::kNone:
break;
}
UNREACHABLE();
@@ -1646,6 +1650,7 @@ class RawLibraryPrefix : public RawInstance {
case Snapshot::kAppNoJIT:
return reinterpret_cast<RawObject**>(&ptr()->importer_);
case Snapshot::kMessage:
+ case Snapshot::kNone:
break;
}
UNREACHABLE();

Powered by Google App Engine
This is Rietveld 408576698