Index: sdk/lib/_internal/compiler/implementation/enqueue.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/enqueue.dart (revision 15076) |
+++ sdk/lib/_internal/compiler/implementation/enqueue.dart (working copy) |
@@ -138,6 +138,7 @@ |
} |
void registerInstantiatedClass(ClassElement cls) { |
+ if (universe.instantiatedClasses.contains(cls)) return; |
universe.instantiatedClasses.add(cls); |
onRegisterInstantiatedClass(cls); |
compiler.backend.registerInstantiatedClass(cls, this); |