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

Unified Diff: runtime/vm/bootstrap.cc

Issue 11274043: Move Arrays, Collections and Maps into a new library, dart:collections. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename collections->collection. Created 8 years, 2 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 1e1ddd72c88e4adf26a283c19009e1c608dcbe46..f71cf5a3a37d36d8eb0677a0ccf2ca28c622d0f2 100644
--- a/runtime/vm/bootstrap.cc
+++ b/runtime/vm/bootstrap.cc
@@ -42,6 +42,13 @@ RawScript* Bootstrap::LoadCoreImplScript(bool patch) {
}
+RawScript* Bootstrap::LoadCollectionScript(bool patch) {
Ivan Posva 2012/10/26 04:48:17 I thought that the dart:collection library was not
Anders Johnsen 2012/10/26 09:23:15 I'm not sure if we are going to patch it yet. I'll
+ const char* url = patch ? "dart:collection-patch" : "dart:collection";
+ const char* source = patch ? collection_source_ : collection_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