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

Unified Diff: pkg/compiler/lib/src/kernel/element_map.dart

Issue 2985663002: Remove _nodeToEntity and _nodeToThisLocal from CapturedScopeBuilder (Closed)
Patch Set: Created 3 years, 5 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/closure_visitors.dart ('k') | no next file » | 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 db9fae41092e53e9a00e5f25f550af46318b4d9e..dfe03f77692fc02804ff95863e856733becffe44 100644
--- a/pkg/compiler/lib/src/kernel/element_map.dart
+++ b/pkg/compiler/lib/src/kernel/element_map.dart
@@ -65,6 +65,7 @@ abstract class KernelToElementMap {
/// Returns the [Local] corresponding to the [node]. The node must be either
/// a [ir.FunctionDeclaration] or [ir.FunctionExpression].
+ // TODO(johnniwinther): Move this to [KernelToElementMapForImpact].
Local getLocalFunction(ir.TreeNode node);
/// Returns the super [MemberEntity] for a super invocation, get or set of
@@ -361,6 +362,7 @@ abstract class KernelToTypeInferenceMap {
}
/// Map from kernel IR nodes to local entities.
+// TODO(johnniwinther): Add `getLocalFunction`.
abstract class KernelToLocalsMap {
/// The member currently being built.
MemberEntity get currentMember;
« no previous file with comments | « pkg/compiler/lib/src/js_model/closure_visitors.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698