Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(618)

Unified Diff: pkg/compiler/lib/src/serialization/modelz.dart

Issue 2827283002: Implement subtype relation for kernel based elements. (Closed)
Patch Set: Add remaining checks of BackendUsage Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/serialization/modelz.dart
diff --git a/pkg/compiler/lib/src/serialization/modelz.dart b/pkg/compiler/lib/src/serialization/modelz.dart
index c63dc2a7aeba220713752421ece439d4f2a20f21..eebb785639bb1258091312cad4184b749b1f0132 100644
--- a/pkg/compiler/lib/src/serialization/modelz.dart
+++ b/pkg/compiler/lib/src/serialization/modelz.dart
@@ -965,7 +965,7 @@ class ClassElementZ extends DeserializedElementZ
.subst(typeVariables, mixinElement.typeVariables);
}
_supertype = supertype;
- _allSupertypesAndSelf = new OrderedTypeSetBuilder(this)
+ _allSupertypesAndSelf = new ResolutionOrderedTypeSetBuilder(this)
.createOrderedTypeSet(_supertype, _interfaces);
_callType = _decoder.getType(Key.CALL_TYPE, isOptional: true);
}
@@ -1173,7 +1173,7 @@ class UnnamedMixinApplicationElementZ extends ElementZ
@override
OrderedTypeSet get allSupertypesAndSelf {
if (_allSupertypesAndSelf == null) {
- _allSupertypesAndSelf = new OrderedTypeSetBuilder(this)
+ _allSupertypesAndSelf = new ResolutionOrderedTypeSetBuilder(this)
.createOrderedTypeSet(supertype, interfaces);
}
return _allSupertypesAndSelf;

Powered by Google App Engine
This is Rietveld 408576698