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

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

Issue 8321024: Clean up (most) uses of Array. Still more to come in the VM corelib code base. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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
« no previous file with comments | « compiler/lib/implementation/array.js ('k') | compiler/lib/implementation/isolate.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/lib/implementation/arrays.dart
===================================================================
--- compiler/lib/implementation/arrays.dart (revision 486)
+++ compiler/lib/implementation/arrays.dart (working copy)
@@ -2,6 +2,7 @@
// 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.
+// TODO(ngeoffray): Rename to Lists.
class Arrays {
static void copy(List<Object> src, int srcStart,
@@ -64,7 +65,7 @@
return -1;
}
- static void rangeCheck(Array a, int start, int length) {
+ static void rangeCheck(List a, int start, int length) {
if (length < 0) {
throw new IllegalArgumentException("negative length $length");
}
« no previous file with comments | « compiler/lib/implementation/array.js ('k') | compiler/lib/implementation/isolate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698