3c6907ed0d
This change adds tracking of number of invocations with the same selector but different arguments. If this number reaches certain limit, all subsequent invocations with such selector are approximated. On Flutter gallery, 1 selector is approximated: dart.core::Object::== On Analyzer, 2 selectors are approximated: analyzer.dart.ast.ast::AstNode::visitChildren dart.core::List::[]= Flutter gallery Total(CodeSize): +11 K. Fixes https://github.com/dart-lang/sdk/issues/33199 Change-Id: I3598555194262a4f08fe1bc207d10880a25eb432 Reviewed-on: https://dart-review.googlesource.com/56420 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>