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

Unified Diff: pkg/compiler/lib/src/ssa/nodes.dart

Issue 1036873004: Fix printing of HConstant (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/nodes.dart
diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart
index f4e813b870b72674a4401c262ebc78b05794359c..9759c5c209ddcf5128552d50b1c610aefaf949d7 100644
--- a/pkg/compiler/lib/src/ssa/nodes.dart
+++ b/pkg/compiler/lib/src/ssa/nodes.dart
@@ -2057,7 +2057,7 @@ class HConstant extends HInstruction {
HConstant.internal(this.constant, TypeMask constantType)
: super(<HInstruction>[], constantType);
- toString() => 'literal: $constant';
+ toString() => 'literal: ${constant.toStructuredString()}';
accept(HVisitor visitor) => visitor.visitConstant(this);
bool isConstant() => true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698