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

Unified Diff: pkg/compiler/lib/src/kernel/element_map.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/js_model/locals.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/element_map.dart
diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart
index f1fc72519504c4e22288173c50bd9ac565e9524e..3af8242e1328d6e84ce3dd9e77cfaa7dec5efcf7 100644
--- a/pkg/compiler/lib/src/kernel/element_map.dart
+++ b/pkg/compiler/lib/src/kernel/element_map.dart
@@ -434,9 +434,16 @@ abstract class KernelToLocalsMap {
JumpTarget getJumpTargetForWhile(ir.WhileStatement node);
/// Returns the [CapturedLoopScope] for the loop [node] in
- /// [closureClassMaps].
+ /// [closureLookup].
+ // TODO(johnniwinther): Remove this when [KernelAstAdapter] is deleted.
CapturedLoopScope getCapturedLoopScope(
ClosureDataLookup closureLookup, ir.TreeNode node);
+
+ /// Returns the [ClosureRepresentationInfo] for the local function [node] in
+ /// [closureLookup].
+ // TODO(johnniwinther): Remove this when [KernelAstAdapter] is deleted.
+ ClosureRepresentationInfo getClosureRepresentationInfo(
+ ClosureDataLookup closureLookup, ir.TreeNode node);
}
/// Comparator for the canonical order or named arguments.
« no previous file with comments | « pkg/compiler/lib/src/js_model/locals.dart ('k') | pkg/compiler/lib/src/ssa/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698