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

Unified Diff: runtime/vm/bootstrap.cc

Issue 11959012: Add dart:collection_dev library. (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
Index: runtime/vm/bootstrap.cc
diff --git a/runtime/vm/bootstrap.cc b/runtime/vm/bootstrap.cc
index d0e864cea63325a8fbd0d53dc56b94f562963545..ac171a48967616d752b71f58ff91a66951d92e2d 100644
--- a/runtime/vm/bootstrap.cc
+++ b/runtime/vm/bootstrap.cc
@@ -48,6 +48,13 @@ RawScript* Bootstrap::LoadCollectionScript(bool patch) {
}
+RawScript* Bootstrap::LoadCollectionDevScript(bool patch) {
+ const char* url = patch ? "dart:collection_dev-patch" : "dart:collection_dev";
+ const char* source = patch ? collection_dev_source_ : collection_dev_source_;
+ return LoadScript(url, source, patch);
+}
+
+
RawScript* Bootstrap::LoadMathScript(bool patch) {
const char* url = patch ? "dart:math-patch" : "dart:math";
const char* source = patch ? math_patch_ : math_source_;

Powered by Google App Engine
This is Rietveld 408576698