| Index: pkg/compiler/lib/src/ssa/optimize.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/optimize.dart b/pkg/compiler/lib/src/ssa/optimize.dart
|
| index fb5f1963b454a5b6bf56af83c6b5c41e84af449a..e8c546a42b03ff4ec80de283618a7b05b856c8df 100644
|
| --- a/pkg/compiler/lib/src/ssa/optimize.dart
|
| +++ b/pkg/compiler/lib/src/ssa/optimize.dart
|
| @@ -449,10 +449,10 @@ class SsaInstructionSimplifier extends HBaseVisitor
|
| // TODO(ngeoffray): Also fold if it's a getter or variable.
|
| if (element != null &&
|
| element.isFunction
|
| - // If we found out that the only target is an implicitly called
|
| - // [:noSuchMethod:] we just ignore it.
|
| + // If we found out that the only target is a [:noSuchMethod:],
|
| + // we just ignore it.
|
| &&
|
| - node.selector.applies(element)) {
|
| + element.name == node.selector.name) {
|
| FunctionElement method = element;
|
|
|
| if (backend.isNative(method)) {
|
|
|