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

Unified Diff: pkg/compiler/lib/src/universe/function_set.dart

Issue 2366363002: Move remaining functionality from ClassWorld to ClosedWorld (Closed)
Patch Set: Created 4 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/universe/function_set.dart
diff --git a/pkg/compiler/lib/src/universe/function_set.dart b/pkg/compiler/lib/src/universe/function_set.dart
index c34ae918f289ad8331bd192595344836b82592a5..2aed1f28c6f4cac574f8333e17622128dd21cf7f 100644
--- a/pkg/compiler/lib/src/universe/function_set.dart
+++ b/pkg/compiler/lib/src/universe/function_set.dart
@@ -125,7 +125,7 @@ class SelectorMask {
String get name => selector.name;
bool applies(Element element, ClosedWorld closedWorld) {
- if (!selector.appliesUnnamed(element, closedWorld.backend)) return false;
+ if (!selector.appliesUnnamed(element)) return false;
return constraint.canHit(element, selector, closedWorld);
}

Powered by Google App Engine
This is Rietveld 408576698