Index: runtime/bin/gen_snapshot.cc |
diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc |
index d63328a65c83235a2341af07e203733898738de0..f543f09498c1e13415797cfaf4256097a05d2ef2 100644 |
--- a/runtime/bin/gen_snapshot.cc |
+++ b/runtime/bin/gen_snapshot.cc |
@@ -1510,7 +1510,7 @@ static Dart_Isolate CreateServiceIsolate(const char* script_uri, |
new IsolateData(script_uri, package_root, package_config, NULL); |
Dart_Isolate isolate = NULL; |
isolate = Dart_CreateIsolate(script_uri, main, isolate_snapshot_data, |
- isolate_snapshot_instructions, NULL, |
+ isolate_snapshot_instructions, flags, |
isolate_data, error); |
if (isolate == NULL) { |
@@ -1629,6 +1629,7 @@ int main(int argc, char** argv) { |
init_params.file_write = DartUtils::WriteFile; |
init_params.file_close = DartUtils::CloseFile; |
init_params.entropy_source = DartUtils::EntropySource; |
+ init_params.start_kernel_isolate = false; |
MappedMemory* mapped_vm_snapshot_data = NULL; |
MappedMemory* mapped_vm_snapshot_instructions = NULL; |