Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart

Issue 1238163003: dart2js cps: Share interceptors by default and propagate to use later. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Minor fix Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..b643fe407ce8fa9881fb2f6ca5ac744661f06b59 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,11 @@ 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) {
floitsch 2015/07/17 17:19:45 new line before and after nested functions.
asgerf 2015/07/20 09:10:56 Done.
+ String name = names.name(cont);
+ return cont.isRecursive ? '$name*' : name;
+ }
+ String ids = node.continuations.map(nameContinuation).join(', ');
printStmt(dummy, "LetCont $ids");
}
visit(node.body);

Powered by Google App Engine
This is Rietveld 408576698