| Index: runtime/bin/main.cc
|
| ===================================================================
|
| --- runtime/bin/main.cc (revision 8985)
|
| +++ runtime/bin/main.cc (working copy)
|
| @@ -512,8 +512,10 @@
|
|
|
| if (snapshot_buffer != NULL) {
|
| // Setup the native resolver as the snapshot does not carry it.
|
| - Builtin::SetNativeResolver(Builtin::kBuiltinLibrary);
|
| - Builtin::SetNativeResolver(Builtin::kIOLibrary);
|
| + Builtin::SetupLibrary(Builtin::LoadLibrary(Builtin::kBuiltinLibrary),
|
| + Builtin::kBuiltinLibrary);
|
| + Builtin::SetupLibrary(Builtin::LoadLibrary(Builtin::kIOLibrary),
|
| + Builtin::kIOLibrary);
|
| }
|
|
|
| // Set up the library tag handler for this isolate.
|
| @@ -550,6 +552,10 @@
|
| return false;
|
| }
|
|
|
| + // Setup the IO library.
|
| + Dart_Handle io_lib = Builtin::LoadLibrary(Builtin::kIOLibrary);
|
| + Builtin::SetupIOLibrary(io_lib);
|
| +
|
| if (package_root != NULL) {
|
| const int kNumArgs = 1;
|
| Dart_Handle dart_args[kNumArgs];
|
|
|