Index: pkg/compiler/lib/src/world.dart |
diff --git a/pkg/compiler/lib/src/world.dart b/pkg/compiler/lib/src/world.dart |
index 065a5663d935a60bdc74d7c52d6d327ad0929c1b..c01141fa6a6bbb2fadd0ecb34fc82321db39d027 100644 |
--- a/pkg/compiler/lib/src/world.dart |
+++ b/pkg/compiler/lib/src/world.dart |
@@ -717,7 +717,7 @@ class ClosedWorldImpl implements ClosedWorld, ClosedWorldRefiner { |
ClassElement getLubOfInstantiatedSubclasses(ClassElement cls) { |
assert(isClosed); |
if (nativeData.isJsInteropClass(cls)) { |
- return _backend.helpers.jsJavaScriptObjectClass; |
+ return commonElements.jsJavaScriptObjectClass; |
} |
ClassHierarchyNode hierarchy = _classHierarchyNodes[cls.declaration]; |
return hierarchy != null |
@@ -729,7 +729,7 @@ class ClosedWorldImpl implements ClosedWorld, ClosedWorldRefiner { |
ClassElement getLubOfInstantiatedSubtypes(ClassElement cls) { |
assert(isClosed); |
if (nativeData.isJsInteropClass(cls)) { |
- return _backend.helpers.jsJavaScriptObjectClass; |
+ return commonElements.jsJavaScriptObjectClass; |
} |
ClassSet classSet = _classSets[cls.declaration]; |
return classSet != null ? classSet.getLubOfInstantiatedSubtypes() : null; |