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

Unified Diff: runtime/include/dart_api.h

Issue 2995723002: - Convert all isolate flags to a bit field. (Closed)
Patch Set: Address build error. Created 3 years, 4 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/bin/run_vm_tests.cc ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »
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 57d19192401e226ffafe788e670222d335bf1bf9..f20475b64e52d474ecb5e0400f4ddaef148ded86 100644
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -583,7 +583,7 @@ DART_EXPORT const char* Dart_VersionString();
* for each part.
*/
-#define DART_FLAGS_CURRENT_VERSION (0x00000002)
+#define DART_FLAGS_CURRENT_VERSION (0x00000003)
typedef struct {
int32_t version;
@@ -593,6 +593,7 @@ typedef struct {
bool enable_error_on_bad_override;
bool use_field_guards;
bool use_osr;
+ bool use_dart_frontend;
} Dart_IsolateFlags;
/**
@@ -763,7 +764,7 @@ typedef Dart_Handle (*Dart_GetVMServiceAssetsArchive)();
* The current version of the Dart_InitializeFlags. Should be incremented every
* time Dart_InitializeFlags changes in a binary incompatible way.
*/
-#define DART_INITIALIZE_PARAMS_CURRENT_VERSION (0x00000002)
+#define DART_INITIALIZE_PARAMS_CURRENT_VERSION (0x00000003)
/**
* Describes how to initialize the VM. Used with Dart_Initialize.
@@ -798,6 +799,7 @@ typedef struct {
Dart_FileCloseCallback file_close;
Dart_EntropySource entropy_source;
Dart_GetVMServiceAssetsArchive get_service_assets;
+ bool start_kernel_isolate;
} Dart_InitializeParams;
/**
« no previous file with comments | « runtime/bin/run_vm_tests.cc ('k') | runtime/vm/benchmark_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698