| Index: runtime/vm/isolate.cc
|
| ===================================================================
|
| --- runtime/vm/isolate.cc (revision 37661)
|
| +++ runtime/vm/isolate.cc (working copy)
|
| @@ -550,6 +550,22 @@
|
| }
|
|
|
|
|
| +void Isolate::DoneLoading() {
|
| + GrowableObjectArray& libs =
|
| + GrowableObjectArray::Handle(this, object_store()->libraries());
|
| + Library& lib = Library::Handle(this);
|
| + intptr_t num_libs = libs.Length();
|
| + for (intptr_t i = 0; i < num_libs; i++) {
|
| + lib ^= libs.At(i);
|
| + // If this library was loaded with Dart_LoadLibrary, it was marked
|
| + // as 'load in progres'. Set the status to 'loaded'.
|
| + if (lib.LoadInProgress()) {
|
| + lib.SetLoaded();
|
| + }
|
| + }
|
| +}
|
| +
|
| +
|
| bool Isolate::MakeRunnable() {
|
| ASSERT(Isolate::Current() == NULL);
|
| // Can't use MutexLocker here because MutexLocker is
|
|
|