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

Unified Diff: lib/compiler/implementation/lib/scalarlist.dart

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move init call for scalarlist lib Created 8 years, 3 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 | « lib/_internal/libraries.dart ('k') | lib/compiler/implementation/lib/scalarlist_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/scalarlist.dart
diff --git a/lib/compiler/implementation/lib/scalarlist.dart b/lib/compiler/implementation/lib/scalarlist.dart
new file mode 100644
index 0000000000000000000000000000000000000000..056cc5ce04112a77775329c3d9cde79b75d33381
--- /dev/null
+++ b/lib/compiler/implementation/lib/scalarlist.dart
@@ -0,0 +1,19 @@
+// 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.
+
+// This is a copy of the VM's dart:scalarlist library. This API is not
+// usable when running inside a web browser. Nevertheless, we
+// provide a mock version of the dart:scalarlist so that we can
+// statically analyze programs that use dart:scalarlist.
+
+/**
+ * The scalarlist library is used for Dart server applications,
+ * which run on a stand-alone Dart VM from the command line.
+ * *This library does not work in browser based applications.*
+ *
+ * This library allows you to work with arrays of scalar values
+ * of various sizes.
+ */
+#library("dart:scalarlist");
+#source("../../../scalarlist/scalarlist.dart");
« no previous file with comments | « lib/_internal/libraries.dart ('k') | lib/compiler/implementation/lib/scalarlist_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698