| Index: pkg/compiler/lib/src/cps_ir/share_interceptors.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/share_interceptors.dart b/pkg/compiler/lib/src/cps_ir/share_interceptors.dart
|
| index 27afeb5099fa8dac09331107651046be630f4927..67aa417f23eaa6d6d73c9f938e2470314c5d3dbf 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/share_interceptors.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/share_interceptors.dart
|
| @@ -6,9 +6,15 @@ library dart2js.cps_ir.share_interceptors;
|
|
|
| import 'cps_ir_nodes.dart';
|
| import 'optimizers.dart';
|
| +import 'type_mask_system.dart';
|
| +import '../elements/elements.dart';
|
| import '../constants/values.dart';
|
|
|
| -/// Merges calls to `getInterceptor` when one call dominates the other.
|
| +/// Merges calls to `getInterceptor` when one call is in scope of the other.
|
| +///
|
| +/// Also replaces `getInterceptor` calls with an interceptor constant when
|
| +/// the result is known statically, and there is no interceptor already in
|
| +/// scope.
|
| ///
|
| /// Should run after [LoopInvariantCodeMotion] so interceptors lifted out from
|
| /// loops can be merged.
|
|
|