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

Unified Diff: runtime/include/dart_api.h

Issue 2715213008: VM: Allow configuring use_field_guards on the per-isolate basis and include it into snapshot featur… (Closed)
Patch Set: Created 3 years, 10 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/clustered_snapshot.h » ('j') | runtime/vm/kernel_isolate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index 4db93630fc3f533ed4bbf7c2e78767134dd3d34a..fdd3f9ab9547562f10dc24b16f62e74dcace1117 100644
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -611,7 +611,7 @@ DART_EXPORT const char* Dart_VersionString();
* for each part.
*/
-#define DART_FLAGS_CURRENT_VERSION (0x00000001)
+#define DART_FLAGS_CURRENT_VERSION (0x00000002)
typedef struct {
int32_t version;
@@ -619,6 +619,7 @@ typedef struct {
bool enable_asserts;
bool enable_error_on_bad_type;
bool enable_error_on_bad_override;
+ bool use_field_guards;
} Dart_IsolateFlags;
/**
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.h » ('j') | runtime/vm/kernel_isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698