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

Unified Diff: pkg/compiler/lib/src/ssa/nodes.dart

Issue 1352533002: Enqueue superclasses instead of supertypes. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/ssa/nodes.dart
diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart
index 8943e70525f806a12f5645b41e34bc5ed6863259..fb4602e467de2574fb7b1d904a0b54e3d8a37cff 100644
--- a/pkg/compiler/lib/src/ssa/nodes.dart
+++ b/pkg/compiler/lib/src/ssa/nodes.dart
@@ -905,7 +905,7 @@ abstract class HInstruction implements Spannable {
TypeMask typeMask,
ClassElement cls,
ClassWorld classWorld) {
- return classWorld.isInstantiated(cls) &&
+ return classWorld.isImplemented(cls) &&
typeMask.satisfies(cls, classWorld);
}

Powered by Google App Engine
This is Rietveld 408576698