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

Unified Diff: pkg/compiler/lib/src/kernel/kernel_backend_strategy.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/kernel/element_map.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
diff --git a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
index e8212576331bdd7e285783c0131b74374553c6cc..fd15e52a7b6e4e8b3dc920f9bc7ebecdc689eb25 100644
--- a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
+++ b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
@@ -152,7 +152,7 @@ class KernelSsaBuilderTask extends CompilerTask implements SsaBuilderTask {
_compiler.codegenWorldBuilder,
work.registry,
// TODO(johnniwinther): Support these:
- const KernelClosureClassMaps(),
+ const KernelClosureDataLookup(),
const SourceInformationBuilder(),
null, // Function node used as capture scope id.
targetIsConstructorBody: false);
@@ -280,7 +280,7 @@ class KernelToLocalsMapImpl implements KernelToLocalsMap {
@override
LoopClosureRepresentationInfo getClosureRepresentationInfoForLoop(
- ClosureClassMaps closureClassMaps, ir.TreeNode node) {
+ ClosureDataLookup closureLookup, ir.TreeNode node) {
return const LoopClosureRepresentationInfo();
}
}
@@ -310,8 +310,8 @@ class KLocal implements Local {
}
/// TODO(johnniwinther,efortuna): Implement this.
-class KernelClosureClassMaps implements ClosureClassMaps<ir.Node> {
- const KernelClosureClassMaps();
+class KernelClosureDataLookup implements ClosureDataLookup<ir.Node> {
+ const KernelClosureDataLookup();
@override
ClosureAnalysisInfo getClosureAnalysisInfo(ir.Node node) {
« no previous file with comments | « pkg/compiler/lib/src/kernel/element_map.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698