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

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

Issue 13940015: Allow using native JS []= on typed data lists. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
index ce24d01a7258989997626ad3831062e093a305b4..6dcad8db1106a21deb79de2dfaece4baf2e7f6e4 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart
@@ -652,6 +652,8 @@ class JavaScriptBackend extends Backend {
ClassElement jsBoolClass;
ClassElement jsIndexableClass;
+ ClassElement jsMutableIndexableClass;
+
ClassElement jsMutableArrayClass;
ClassElement jsFixedArrayClass;
ClassElement jsExtendableArrayClass;
@@ -898,6 +900,8 @@ class JavaScriptBackend extends Backend {
jsIndexableClass =
compiler.findInterceptor(const SourceString('JSIndexable'));
+ jsMutableIndexableClass =
+ compiler.findInterceptor(const SourceString('JSMutableIndexable'));
// TODO(kasperl): Some tests do not define the special JSArray
// subclasses, so we check to see if they are defined before

Powered by Google App Engine
This is Rietveld 408576698