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

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

Issue 9183002: Remove the type token used to pass element information to arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address floitsch's comments Created 8 years, 11 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.dart ('k') | compiler/lib/implementation/type_token.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/lib/implementation/array.js
diff --git a/compiler/lib/implementation/array.js b/compiler/lib/implementation/array.js
index a6b1abe17ac15cfd3a6f7b81a6a94f9ef38b1046..1f1e3f2e4ceae76d555038dfd1f2533bdc2a64a5 100644
--- a/compiler/lib/implementation/array.js
+++ b/compiler/lib/implementation/array.js
@@ -2,12 +2,6 @@
// 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.
-function native_ListFactory__new(typeToken, length) {
- return RTT.setTypeInfo(
- new Array(length),
- Array.$lookupRTT(RTT.getTypeInfo(typeToken).typeArgs));
-}
-
function native_ListImplementation__indexOperator(index) {
return this[index];
}
« no previous file with comments | « compiler/lib/implementation/array.dart ('k') | compiler/lib/implementation/type_token.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698