| Index: pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| diff --git a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| index 45b7ed6d511f3dd273ad491baaef62724a7bcd7a..fa18eb894dbeb9d2c15873575883da926bfa2538 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| @@ -976,7 +976,8 @@ class DynamicCallSiteTypeInformation extends CallSiteTypeInformation {
|
| JavaScriptBackend backend = compiler.backend;
|
| TypeMask maskToUse =
|
| inferrer.closedWorld.extendMaskIfReachesAll(selector, typeMask);
|
| - bool canReachAll = backend.hasInvokeOnSupport && (maskToUse != typeMask);
|
| + bool canReachAll =
|
| + backend.backendUsage.isInvokeOnUsed && (maskToUse != typeMask);
|
|
|
| // If this call could potentially reach all methods that satisfy
|
| // the untyped selector (through noSuchMethod's `Invocation`
|
|
|