| Index: runtime/bin/main.cc
|
| diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
|
| index 8255d999c5bfd50783c5122682fc3199e21d8df8..c172aaaf033b2dc4c3d9b1bf8ed313eb2587ba9b 100644
|
| --- a/runtime/bin/main.cc
|
| +++ b/runtime/bin/main.cc
|
| @@ -12,6 +12,7 @@
|
| #include "bin/dartutils.h"
|
| #include "bin/file.h"
|
| #include "bin/globals.h"
|
| +#include "bin/platform.h"
|
|
|
| // snapshot_buffer points to a snapshot if we link in a snapshot otherwise
|
| // it is initialized to NULL.
|
| @@ -251,6 +252,11 @@ int main(int argc, char** argv) {
|
| CommandLineOptions vm_options(argc);
|
| CommandLineOptions dart_options(argc);
|
|
|
| + // Perform platform specific initialization.
|
| + if (!Platform::Initialize()) {
|
| + fprintf(stderr, "Initialization failed\n");
|
| + }
|
| +
|
| // Parse command line arguments.
|
| if (ParseArguments(argc,
|
| argv,
|
|
|