Index: sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart |
index f7c8a2900170ebac36f0c437d24bc9fd029d8679..dbd3611148135320bf8cfa99d4abfdf8fa99aaa0 100644 |
--- a/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart |
+++ b/sdk/lib/_internal/compiler/implementation/js_emitter/old_emitter/class_emitter.dart |
@@ -393,7 +393,7 @@ class ClassEmitter extends CodeEmitterHelper { |
// If the class is never instantiated we still need to set it up for |
// inheritance purposes, but we can simplify its JavaScript constructor. |
bool isInstantiated = |
- compiler.codegenWorld.instantiatedClasses.contains(element); |
+ compiler.codegenWorld.directlyInstantiatedClasses.contains(element); |
void visitField(Element holder, VariableElement field) { |
assert(invariant(element, field.isDeclaration)); |