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

Unified Diff: pkg/compiler/lib/src/dump_info.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
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/inferrer/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dump_info.dart
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
index f89bec3c3f0693f593298104b55efdd1fbaa4200..cc292e4c55b0af777267c083f3248985a609e0ed 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -211,9 +211,8 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
size: compiler.dumpInfoTask.sizeOf(element));
_elementToInfo[element] = closureInfo;
- ClosureRepresentationInfo closureRepresentation = compiler
- .backendStrategy.closureDataLookup
- .getClosureRepresentationInfo(element.methodElement);
+ ClosureRepresentationInfo closureRepresentation =
+ compiler.backendStrategy.closureDataLookup.getClosureInfo(element.node);
assert(closureRepresentation.closureClassEntity == element);
FunctionInfo functionInfo = this.process(closureRepresentation.callMethod);
« no previous file with comments | « pkg/compiler/lib/src/closure.dart ('k') | pkg/compiler/lib/src/inferrer/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698