Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: pkg/compiler/lib/src/inferrer/builder_kernel.dart

Issue 3002953002: Split getClosureRepresentationInfo into MemberEntity and (ir/ast) nodes (Closed)
Patch Set: Update cf. comments Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/inferrer/builder_kernel.dart
diff --git a/pkg/compiler/lib/src/inferrer/builder_kernel.dart b/pkg/compiler/lib/src/inferrer/builder_kernel.dart
index 24a9ddcdeab56688d00908c6d09df1d039ff599e..32e6a24bd117ac0f41c548b35e1240deed748d7e 100644
--- a/pkg/compiler/lib/src/inferrer/builder_kernel.dart
+++ b/pkg/compiler/lib/src/inferrer/builder_kernel.dart
@@ -106,7 +106,7 @@ class KernelTypeGraphBuilder extends ir.Visitor<TypeInformation> {
// previous analysis of [outermostElement].
ClosureRepresentationInfo closureData = compiler
.backendStrategy.closureDataLookup
- .getClosureRepresentationInfo(resolvedAst.element);
+ .getClosureInfoForMember(outermostElement);
closureData.forEachCapturedVariable((variable, field) {
locals.setCaptured(variable, field);
});
« no previous file with comments | « pkg/compiler/lib/src/inferrer/builder.dart ('k') | pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698