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

Unified Diff: pkg/compiler/lib/src/dump_info.dart

Issue 2938203003: Compute KernelClosureRepresentationInfo.variableIsUsedInTryOrSync (Closed)
Patch Set: Merge KernelClosureConversionTask and KernelClosureDataLookup Created 3 years, 6 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/dump_info.dart
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
index 082cd1c5eaa6ad3db405ea4ec22bbea41e485a2d..2e59430bfbd4d1ac0f157c18ddc2de35923e70f3 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -214,7 +214,8 @@ class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
size: compiler.dumpInfoTask.sizeOf(element));
_elementToInfo[element] = closureInfo;
- ClosureRepresentationInfo closureRepresentation = compiler.closureDataLookup
+ ClosureRepresentationInfo closureRepresentation = compiler
+ .backendStrategy.closureDataLookup
.getClosureRepresentationInfo(element.methodElement);
assert(closureRepresentation.closureClassEntity == element);

Powered by Google App Engine
This is Rietveld 408576698