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

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

Issue 1203353003: dart2js cps: Fix codegen for foreign statements. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/codegen/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 56d5896704cb1e3f6a3ebbd65b2f03489e0f879c..1c5adcfb262a5b7b67d9f2f12ebfd145e0331a93 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart
@@ -371,8 +371,8 @@ class IRTracer extends TracerUtil implements cps_ir.Visitor {
String arguments = node.arguments.map(formatReference).join(', ');
String continuation = node.continuation == null ? ''
: ' ${formatReference(node.continuation)}';
- printStmt(id, "ForeignCode ${node.type} ${node.codeTemplate} $arguments"
- "$continuation");
+ printStmt(id, "ForeignCode ${node.type} ${node.codeTemplate.source} "
+ "$arguments $continuation");
}
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_backend/codegen/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698