| Index: runtime/bin/gen_snapshot.cc
|
| diff --git a/runtime/bin/gen_snapshot.cc b/runtime/bin/gen_snapshot.cc
|
| index b55575da3a741af6c2f7a35aaf11c711f8b94d8b..544cf32fa28763be5f7d5e00c7cc83254e80305c 100644
|
| --- a/runtime/bin/gen_snapshot.cc
|
| +++ b/runtime/bin/gen_snapshot.cc
|
| @@ -516,7 +516,8 @@ static void SetupForGenericSnapshotCreation() {
|
|
|
|
|
| int main(int argc, char** argv) {
|
| - CommandLineOptions vm_options(argc);
|
| + const int EXTRA_VM_ARGUMENTS = 1;
|
| + CommandLineOptions vm_options(argc + EXTRA_VM_ARGUMENTS);
|
|
|
| // Initialize the URL mapping array.
|
| CommandLineOptions url_mapping_array(argc);
|
| @@ -534,6 +535,8 @@ int main(int argc, char** argv) {
|
| Thread::InitOnce();
|
| DartUtils::SetOriginalWorkingDirectory();
|
|
|
| + vm_options.AddArgument("--load_deferred_eagerly");
|
| +
|
| Dart_SetVMFlags(vm_options.count(), vm_options.arguments());
|
|
|
| // Initialize the Dart VM.
|
|
|