Index: pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart |
diff --git a/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart b/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart |
index 565ecf0f79b10ac66bbd9e2aca286ee7656c6e34..7f8259c3586a27f3d49c318997f99ee9373f122b 100644 |
--- a/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart |
+++ b/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart |
@@ -205,8 +205,7 @@ class LookupMapAnalysis { |
if (key is ConstructedConstantValue) { |
ClassElement element = key.type.element; |
return _typesWithEquals.putIfAbsent(element, () => |
- element.lookupMember('==').enclosingClass != |
- backend.compiler.objectClass); |
+ !element.lookupMember('==').enclosingClass.isObject); |
} |
return false; |
} |