Index: runtime/vm/bootstrap.cc |
diff --git a/runtime/vm/bootstrap.cc b/runtime/vm/bootstrap.cc |
index bab1d4b0d89ac05b910fd9ae75a85b67041916a8..d0e864cea63325a8fbd0d53dc56b94f562963545 100644 |
--- a/runtime/vm/bootstrap.cc |
+++ b/runtime/vm/bootstrap.cc |
@@ -26,6 +26,13 @@ RawScript* Bootstrap::LoadScript(const char* url, |
} |
+RawScript* Bootstrap::LoadASyncScript(bool patch) { |
+ const char* url = patch ? "dart:async-patch" : "dart:async"; |
+ const char* source = patch ? async_patch_ : async_source_; |
+ return LoadScript(url, source, patch); |
+} |
+ |
+ |
RawScript* Bootstrap::LoadCoreScript(bool patch) { |
// TODO(iposva): Use proper library name. |
const char* url = patch ? "dart:core-patch" : "bootstrap"; |