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 84904aeae9b21a98313bc63e61e8ec5d9a1f1373..d68d0c5fd7e989be523e4f922316fb9db25a2004 100644 |
--- a/pkg/compiler/lib/src/kernel/element_map.dart |
+++ b/pkg/compiler/lib/src/kernel/element_map.dart |
@@ -4,6 +4,7 @@ |
import 'package:kernel/ast.dart' as ir; |
+import '../closure.dart'; |
import '../common.dart'; |
import '../common/names.dart'; |
import '../constants/constructors.dart'; |
@@ -1037,4 +1038,9 @@ abstract class KernelToLocalsMap { |
/// Returns the [JumpTarget] for the branch in [node]. |
// TODO(johnniwinther): Split this by kind of [node]? |
JumpTarget getJumpTarget(ir.TreeNode node, {bool isContinueTarget: false}); |
+ |
+ /// Returns the [LoopClosureRepresentationInfo] for the loop [node] in |
+ /// [closureClassMaps]. |
+ LoopClosureRepresentationInfo getClosureRepresentationInfoForLoop( |
+ ClosureClassMaps closureClassMaps, ir.TreeNode node); |
} |