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

Unified Diff: runtime/vm/dart.h

Issue 1975423002: Check snapshots for feature compatibility. (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 | « no previous file | runtime/vm/dart.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.h
diff --git a/runtime/vm/dart.h b/runtime/vm/dart.h
index a21dab22176180fd6fcd3b650033c86115a7692c..ea40e43386e40197158ef7b83a4373fcb2e0f103 100644
--- a/runtime/vm/dart.h
+++ b/runtime/vm/dart.h
@@ -21,7 +21,7 @@ class ThreadPool;
class Dart : public AllStatic {
public:
- static const char* InitOnce(
+ static char* InitOnce(
const uint8_t* vm_isolate_snapshot,
const uint8_t* instructions_snapshot,
const uint8_t* data_snapshot,
@@ -61,6 +61,8 @@ class Dart : public AllStatic {
static uword AllocateReadOnlyHandle();
static bool IsReadOnlyHandle(uword address);
+ static const char* FeaturesString(Snapshot::Kind kind);
+
static Snapshot::Kind snapshot_kind() {
return snapshot_kind_;
}
« no previous file with comments | « no previous file | runtime/vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698