Index: pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart b/pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart |
index 897a44edd8d7c510df1c2db525a3eed2ef42cfc3..57d71207a0d9de14c3149cee5dbd5f17e23c37da 100644 |
--- a/pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart |
+++ b/pkg/compiler/lib/src/cps_ir/loop_hierarchy.dart |
@@ -118,14 +118,14 @@ class LoopHierarchy { |
Continuation target; |
if (node is InvokeContinuation) { |
if (node.isRecursive) { |
- target = node.continuation.definition; |
+ target = node.continuation; |
} else { |
- target = loopTarget[node.continuation.definition]; |
+ target = loopTarget[node.continuation]; |
} |
} else if (node is Branch) { |
target = _markInnerLoop( |
- loopTarget[node.trueContinuation.definition], |
- loopTarget[node.falseContinuation.definition]); |
+ loopTarget[node.trueContinuation], |
+ loopTarget[node.falseContinuation]); |
} else if (node == null) { |
// If the code ends abruptly, use the exit loop provided in [update]. |
target = _exitLoop; |