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

Unified Diff: pkg/compiler/lib/src/dart_backend/tree_ir_tracer.dart

Issue 688663002: Support for labels in non-loop code in new dart backend (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comment cf. review Created 6 years, 1 month 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 | « pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dart_backend/tree_ir_tracer.dart
diff --git a/pkg/compiler/lib/src/dart_backend/tree_ir_tracer.dart b/pkg/compiler/lib/src/dart_backend/tree_ir_tracer.dart
index bcd02f59d4d866116e21b60e231488be6f8180a1..b304450bba527bdadad005b2ea67b70acbf645fe 100644
--- a/pkg/compiler/lib/src/dart_backend/tree_ir_tracer.dart
+++ b/pkg/compiler/lib/src/dart_backend/tree_ir_tracer.dart
@@ -339,7 +339,7 @@ class SubexpressionVisitor extends ExpressionVisitor<String> {
}
String visitConstant(Constant node) {
- return "${node.value}";
+ return "${node.value.toStructuredString()}";
}
String visitThis(This node) {
« no previous file with comments | « pkg/compiler/lib/src/cps_ir/cps_ir_tracer.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698