| Index: runtime/bin/gen_snapshot.cc
|
| diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc
|
| index b04ae211852914883ba95bddbf2a1ff24b3df1ff..550844e6589144a1a273c057431dab59d18fc871 100644
|
| --- a/runtime/bin/gen_snapshot.cc
|
| +++ b/runtime/bin/gen_snapshot.cc
|
| @@ -220,10 +220,12 @@ int main(int argc, char** argv) {
|
| return 255;
|
| }
|
|
|
| + Dart_SetVMFlags(vm_options.count(), vm_options.arguments());
|
| +
|
| // Initialize the Dart VM.
|
| // Note: We don't expect isolates to be created from dart code during
|
| // snapshot generation.
|
| - Dart_Initialize(vm_options.count(), vm_options.arguments(), NULL);
|
| + Dart_Initialize(NULL);
|
|
|
| char* error;
|
| Dart_Isolate isolate = Dart_CreateIsolate(NULL, NULL, &error);
|
|
|