Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Unified Diff: runtime/vm/bootstrap.cc

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
« no previous file with comments | « runtime/vm/bootstrap.h ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698