Index: pkg/compiler/lib/src/js_model/js_strategy.dart |
diff --git a/pkg/compiler/lib/src/js_model/js_strategy.dart b/pkg/compiler/lib/src/js_model/js_strategy.dart |
index 39e66bf21ddc59e00d44273969ec1f209e2ff7d6..227c2856343475dc92077642cb08ec4091dacdf1 100644 |
--- a/pkg/compiler/lib/src/js_model/js_strategy.dart |
+++ b/pkg/compiler/lib/src/js_model/js_strategy.dart |
@@ -383,12 +383,10 @@ class JsClosedWorld extends ClosedWorldBase with KernelClosedWorldMixin { |
classSets); |
@override |
- void registerClosureClass(ClassEntity cls, bool fromInstanceMember) { |
+ void registerClosureClass(ClassEntity cls) { |
// Tell the hierarchy that this is the super class. then we can use |
// .getSupertypes(class) |
- ClassEntity superclass = fromInstanceMember |
- ? commonElements.boundClosureClass |
- : commonElements.closureClass; |
+ ClassEntity superclass = commonElements.closureClass; |
ClassHierarchyNode parentNode = getClassHierarchyNode(superclass); |
ClassHierarchyNode node = new ClassHierarchyNode( |
parentNode, cls, getHierarchyDepth(superclass) + 1); |