| 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 4392586f2cc3eb3a62e91a64e4a7a00b57f5477b..0c3fb312a670f4297df173fce03273cc477e0db5 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_nodes.dart
|
| @@ -10,7 +10,6 @@ import '../common.dart';
|
| import '../common/names.dart' show Identifiers;
|
| import '../compiler.dart' show Compiler;
|
| import '../constants/values.dart';
|
| -import '../cps_ir/cps_ir_nodes.dart' as cps_ir show Node;
|
| import '../dart_types.dart' show DartType, FunctionType, TypeKind;
|
| import '../elements/elements.dart';
|
| import '../tree/dartstring.dart' show DartString;
|
| @@ -390,9 +389,8 @@ class MemberTypeInformation extends ElementTypeInformation
|
| * This map contains the callers of [element]. It stores all unique call sites
|
| * to enable counting the global number of call sites of [element].
|
| *
|
| - * A call site is either an AST [ast.Node], a [cps_ir.Node] or in the case of
|
| - * synthesized calls, an [Element] (see uses of [synthesizeForwardingCall]
|
| - * in [SimpleTypeInferrerVisitor]).
|
| + * A call site is either an AST [ast.Node], an [Element] (see uses of
|
| + * [synthesizeForwardingCall] in [SimpleTypeInferrerVisitor]).
|
| *
|
| * The global information is summarized in [cleanup], after which [_callers]
|
| * is set to `null`.
|
| @@ -403,7 +401,7 @@ class MemberTypeInformation extends ElementTypeInformation
|
| : super._internal(null, element);
|
|
|
| void addCall(Element caller, Spannable node) {
|
| - assert(node is ast.Node || node is cps_ir.Node || node is Element);
|
| + assert(node is ast.Node || node is Element);
|
| _callers ??= <Element, Setlet>{};
|
| _callers.putIfAbsent(caller, () => new Setlet()).add(node);
|
| }
|
|
|