Index: pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart |
index 0064b6bf0bc0ff25d28b9d1e1cb3d21df5754312..181a26447661885656c40fbc48c9afbf37dbdf70 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart |
@@ -110,7 +110,13 @@ class IRTracer extends TracerUtil implements cps_ir.Visitor { |
visitLetCont(cps_ir.LetCont node) { |
if (IR_TRACE_LET_CONT) { |
String dummy = names.name(node); |
- String ids = node.continuations.map(names.name).join(', '); |
+ |
+ String nameContinuation(cps_ir.Continuation cont) { |
+ String name = names.name(cont); |
+ return cont.isRecursive ? '$name*' : name; |
+ } |
+ |
+ String ids = node.continuations.map(nameContinuation).join(', '); |
printStmt(dummy, "LetCont $ids"); |
} |
visit(node.body); |