Index: sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart (revision 30666) |
+++ sdk/lib/_internal/compiler/implementation/js_emitter/code_emitter_task.dart (working copy) |
@@ -794,6 +794,13 @@ |
} |
} |
+ // These classes are just helpers for the backend's type system. |
+ unneededClasses.add(backend.jsMutableArrayClass); |
+ unneededClasses.add(backend.jsFixedArrayClass); |
+ unneededClasses.add(backend.jsExtendableArrayClass); |
+ unneededClasses.add(backend.jsUInt32Class); |
+ unneededClasses.add(backend.jsUInt31Class); |
+ |
return (ClassElement cls) => !unneededClasses.contains(cls); |
} |