Index: pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart b/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart |
index 9988f4724ea68fd59e8ee7567ff93ff64d214ae3..888f1474107fe2fc9a846964ce942e4649e25aaf 100644 |
--- a/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart |
+++ b/pkg/compiler/lib/src/cps_ir/shrinking_reductions.dart |
@@ -673,6 +673,13 @@ class ParentVisitor extends RecursiveVisitor { |
processApplyBuiltinOperator(ApplyBuiltinOperator node) { |
node.arguments.forEach((Reference ref) => ref.parent = node); |
} |
+ |
+ processForeignCode(ForeignCode node) { |
+ if (node.continuation != null) { |
+ node.continuation.parent = node; |
+ } |
+ node.arguments.forEach((Reference ref) => ref.parent = node); |
+ } |
} |
class _ReductionKind { |