Index: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart |
index 57bf1e0f507403cbe624b168eca7d7564dd21385..fb84ae6540cf612b40447822621175210e3879c7 100644 |
--- a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart |
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart |
@@ -487,16 +487,10 @@ class Primitives { |
} |
static List newGrowableList(length) { |
- // TODO(sra): For good concrete type analysis we need the JS-type to |
- // specifically name the JavaScript Array implementation. 'List' matches |
- // all the dart:html types that implement List<T>. |
return JS('=List', r'new Array(#)', length); |
} |
static List newFixedList(length) { |
- // TODO(sra): For good concrete type analysis we need the JS-type to |
- // specifically name the JavaScript Array implementation. 'List' matches |
- // all the dart:html types that implement List<T>. |
var result = JS('=List', r'new Array(#)', length); |
JS('void', r'#.fixed$length = #', result, true); |
return result; |