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

Unified Diff: compiler/lib/implementation/isolate.js

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/arrays.dart ('k') | compiler/lib/implementation/regexp.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/lib/implementation/isolate.js
===================================================================
--- compiler/lib/implementation/isolate.js (revision 486)
+++ compiler/lib/implementation/isolate.js (working copy)
@@ -489,7 +489,7 @@
RTT.removeTypeInfo(list);
return list;
} else {
- var len = native__ArrayJsUtil__arrayLength(list);
+ var len = native__ListJsUtil__listLength(list);
var array = new Array(len);
for (var i = 0; i < len; i++) {
array[i] = INDEX$operator(list, i);
« no previous file with comments | « compiler/lib/implementation/arrays.dart ('k') | compiler/lib/implementation/regexp.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698