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

Unified Diff: pkg/compiler/lib/src/ssa/kernel_ast_adapter.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/ssa/kernel_ast_adapter.dart
diff --git a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
index 014949331f8556a2aa39ab6f20ad7c24b54901fd..c044ce99717746bbafb8335da9ca20c78a3fcfad 100644
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
@@ -123,7 +123,8 @@ class KernelAstAdapter extends KernelToElementMapMixin
// Closures require a lookup one level deeper in the closure class mapper.
if (target == null) {
MethodElement originTargetFunction = originTarget;
- ClosureRepresentationInfo classMap = _compiler.closureDataLookup
+ ClosureRepresentationInfo classMap = _compiler
+ .backendStrategy.closureDataLookup
.getClosureRepresentationInfo(originTargetFunction);
if (classMap.closureEntity != null) {
target = kernel.localFunctions[classMap.closureEntity];

Powered by Google App Engine
This is Rietveld 408576698