Index: runtime/vm/bootstrap_natives.cc |
diff --git a/runtime/vm/bootstrap_natives.cc b/runtime/vm/bootstrap_natives.cc |
index 9978bf7081cef8d4444386bc0bedc3043ae7c587..164b33d9a0259e8cfab6393feb206ade9327ccc1 100644 |
--- a/runtime/vm/bootstrap_natives.cc |
+++ b/runtime/vm/bootstrap_natives.cc |
@@ -56,6 +56,10 @@ void Bootstrap::SetupNativeResolver() { |
Dart_NativeEntryResolver resolver = |
reinterpret_cast<Dart_NativeEntryResolver>(BootstrapNatives::Lookup); |
+ library = Library::ASyncLibrary(); |
+ ASSERT(!library.IsNull()); |
+ library.set_native_entry_resolver(resolver); |
+ |
library = Library::CoreLibrary(); |
ASSERT(!library.IsNull()); |
library.set_native_entry_resolver(resolver); |