Index: pkg/compiler/lib/src/ssa/builder_kernel.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart |
index 5b2ffdcfeee3856ca139c759afdc649148926d2c..75547da496dc779ee7908395b4493269eeebee09 100644 |
--- a/pkg/compiler/lib/src/ssa/builder_kernel.dart |
+++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart |
@@ -2237,10 +2237,7 @@ class KernelSsaGraphBuilder extends ir.Visitor |
return; |
} |
- Local local = localsMap.getLocalVariable(variableGet.variable, |
- isClosureCallMethod: |
- _elementMap.getMemberDefinition(targetElement).kind == |
- MemberKind.closureCall); |
+ Local local = localsMap.getLocalVariable(variableGet.variable); |
stack.add(localsHandler.readLocal(local)); |
} |