| Index: pkg/compiler/lib/src/ssa/builder.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
|
| index ddbc38feae178866b29fc080894121ee8d4d8c0f..e6f51cee97e249aa0822a1f96646a95fa033027c 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder.dart
|
| @@ -1866,9 +1866,8 @@ class SsaAstGraphBuilder extends ast.Visitor
|
| }
|
|
|
| visitFunctionExpression(ast.FunctionExpression node) {
|
| - LocalFunctionElement methodElement = elements[node];
|
| ClosureRepresentationInfo closureInfo =
|
| - closureDataLookup.getClosureRepresentationInfo(methodElement);
|
| + closureDataLookup.getClosureInfo(node);
|
| ClassEntity closureClassEntity = closureInfo.closureClassEntity;
|
|
|
| List<HInstruction> capturedVariables = <HInstruction>[];
|
|
|