Chromium Code Reviews| 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_; |