| Index: pkg/compiler/lib/src/ssa/codegen.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
|
| index c86a48a609b3495f72c44f01302ce4740a1b834f..13c8cb30f4204ff4e643c3e0c24424341136f7e9 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -2102,9 +2102,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| if (node.callMethod != null) {
|
| _registry
|
| ?.registerStaticUse(new StaticUse.implicitInvoke(node.callMethod));
|
| - }
|
| - if (node.localFunction != null) {
|
| - _registry?.registerInstantiatedClosure(node.localFunction);
|
| + _registry?.registerInstantiatedClosure(node.callMethod);
|
| }
|
| }
|
|
|
|
|