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

Unified Diff: pkg/compiler/lib/src/js_model/locals.dart

Issue 3002953002: Split getClosureRepresentationInfo into MemberEntity and (ir/ast) nodes (Closed)
Patch Set: 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
Index: pkg/compiler/lib/src/js_model/locals.dart
diff --git a/pkg/compiler/lib/src/js_model/locals.dart b/pkg/compiler/lib/src/js_model/locals.dart
index f89bf5c1da2d3473095f2e558b105718956560a1..4adef27e5aa2b119ba9a381d30fb8de265d54ed0 100644
--- a/pkg/compiler/lib/src/js_model/locals.dart
+++ b/pkg/compiler/lib/src/js_model/locals.dart
@@ -168,6 +168,12 @@ class KernelToLocalsMapImpl implements KernelToLocalsMap {
ClosureDataLookup closureLookup, ir.TreeNode node) {
return closureLookup.getCapturedLoopScope(node);
}
+
+ @override
+ ClosureRepresentationInfo getClosureRepresentationInfo(
+ ClosureDataLookup closureLookup, ir.TreeNode node) {
+ return closureLookup.getClosureRepresentationInfo(node);
+ }
}
class JumpVisitor extends ir.Visitor {

Powered by Google App Engine
This is Rietveld 408576698