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

Unified Diff: pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart

Issue 2938853004: Rename ClosureClassMaps to ClosureDataLookup (Closed)
Patch Set: . 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/graph_builder.dart ('k') | pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f589becefa192723b66c6836cd0b6a35d89af3bf..aac72e4c6a36765689035ee2202ca3f89edf8ee0 100644
--- a/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
+++ b/pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart
@@ -125,7 +125,7 @@ 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.closureToClassMapper
+ ClosureRepresentationInfo classMap = _compiler.closureDataLookup
.getClosureRepresentationInfo(originTargetFunction);
if (classMap.closureEntity != null) {
target = kernel.localFunctions[classMap.closureEntity];
@@ -327,8 +327,8 @@ class KernelAstAdapter extends KernelToElementMapMixin
@override
LoopClosureRepresentationInfo getClosureRepresentationInfoForLoop(
- ClosureClassMaps closureClassMaps, ir.TreeNode node) {
- return closureClassMaps.getClosureRepresentationInfoForLoop(getNode(node));
+ ClosureDataLookup closureLookup, ir.TreeNode node) {
+ return closureLookup.getClosureRepresentationInfoForLoop(getNode(node));
}
}
« no previous file with comments | « pkg/compiler/lib/src/ssa/graph_builder.dart ('k') | pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698