Index: pkg/compiler/lib/src/ssa/loop_handler.dart |
diff --git a/pkg/compiler/lib/src/ssa/loop_handler.dart b/pkg/compiler/lib/src/ssa/loop_handler.dart |
index c312d670f73beb57f59dc11fef58d6e4555adcaf..e22337b4c2b08d4b102bfa1393e60f662f786e4f 100644 |
--- a/pkg/compiler/lib/src/ssa/loop_handler.dart |
+++ b/pkg/compiler/lib/src/ssa/loop_handler.dart |
@@ -4,10 +4,10 @@ |
import 'package:kernel/ast.dart' as ir; |
+import '../closure.dart' show LoopClosureRepresentationInfo; |
import '../elements/elements.dart' show JumpTarget, LabelDefinition; |
import '../io/source_information.dart'; |
import '../tree/tree.dart' as ast; |
-import '../closure.dart' show LoopClosureRepresentationInfo; |
import 'builder.dart'; |
import 'builder_kernel.dart'; |
@@ -360,7 +360,7 @@ class KernelLoopHandler extends LoopHandler<ir.TreeNode> { |
@override |
JumpTarget getTargetDefinition(ir.TreeNode node) => |
- astAdapter.getJumpTarget(node); |
+ builder.localsMap.getJumpTarget(node); |
@override |
int loopKind(ir.TreeNode node) => node.accept(new _KernelLoopTypeVisitor()); |