Index: runtime/vm/bootstrap.cc |
diff --git a/runtime/vm/bootstrap.cc b/runtime/vm/bootstrap.cc |
index 31674a90e028c7a6e35427b8bd278609bbbeb055..1e1ddd72c88e4adf26a283c19009e1c608dcbe46 100644 |
--- a/runtime/vm/bootstrap.cc |
+++ b/runtime/vm/bootstrap.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
@@ -63,6 +63,13 @@ RawScript* Bootstrap::LoadMirrorsScript(bool patch) { |
} |
+RawScript* Bootstrap::LoadScalarlistScript(bool patch) { |
+ const char* url = patch ? "dart:scalarlist_patch" : "dart:scalarlist"; |
+ const char* source = patch ? scalarlist_patch_ : scalarlist_source_; |
+ return LoadScript(url, source, patch); |
+} |
+ |
+ |
RawError* Bootstrap::Compile(const Library& library, const Script& script) { |
if (FLAG_print_bootstrap) { |
OS::Print("Bootstrap source '%s':\n%s\n", |