Index: vm/dart_api_impl.cc |
=================================================================== |
--- vm/dart_api_impl.cc (revision 591) |
+++ vm/dart_api_impl.cc (working copy) |
@@ -268,6 +268,7 @@ |
isolate->set_library_tag_handler(handler); |
library = Library::New(url_str); |
library.Register(); |
+ isolate->object_store()->set_root_library(library); |
Dart_Result result; |
CompileSource(library, url_str, source_str, RawScript::kScript, &result); |
return result; |