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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 12753003: Recognize const/fixed/growable arrays in simple types inferrer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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
Index: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (revision 19764)
+++ sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (working copy)
@@ -662,7 +662,6 @@
Element getInterceptorMethod;
Element interceptedNames;
- Element fixedLengthListConstructor;
bool seenAnyClass = false;
@@ -1573,6 +1572,9 @@
ClassElement get numImplementation => jsNumberClass;
ClassElement get stringImplementation => jsStringClass;
ClassElement get listImplementation => jsArrayClass;
+ ClassElement get constListImplementation => jsArrayClass;
+ ClassElement get fixedListImplementation => jsFixedArrayClass;
+ ClassElement get growableListImplementation => jsExtendableArrayClass;
ClassElement get mapImplementation => mapLiteralClass;
ClassElement get constMapImplementation => constMapLiteralClass;
ClassElement get functionImplementation => jsFunctionClass;

Powered by Google App Engine
This is Rietveld 408576698