Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (revision 17130) |
+++ sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (working copy) |
@@ -1649,11 +1649,6 @@ |
visitArguments(node.inputs)), |
node); |
world.registerDynamicInvocation(call.name, call); |
- // A closure can also be invoked through [HInvokeDynamicMethod] by |
- // explicitly calling the [:call:] method. Therefore, we must also |
- // register types here to let the backend invalidate wrong |
- // optimizations. |
- backend.registerDynamicInvocation(node, call, types); |
} |
visitInvokeStatic(HInvokeStatic node) { |