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

Unified Diff: lib/compiler/implementation/ssa/tracer.dart

Issue 10544026: Simplify generated code for string interpolation by delaying the constant folding. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge. Created 8 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
Index: lib/compiler/implementation/ssa/tracer.dart
diff --git a/lib/compiler/implementation/ssa/tracer.dart b/lib/compiler/implementation/ssa/tracer.dart
index ee3551d3122abad3b8d82760d1acf21c2856d3e0..080a78222fdb89293660b6a83fcf3a17901f2115 100644
--- a/lib/compiler/implementation/ssa/tracer.dart
+++ b/lib/compiler/implementation/ssa/tracer.dart
@@ -381,6 +381,12 @@ class HInstructionStringifier implements HVisitor<String> {
return "Static $lhs = ${temporaryId(node.inputs[0])}";
}
+ String visitStringConcat(HStringConcat node) {
+ var leftId = temporaryId(node.left);
+ var rightId = temporaryId(node.right);
+ return "StringConcat: $leftId + $rightId";
+ }
+
String visitSubtract(HSubtract node) => visitInvokeStatic(node);
String visitSwitch(HSwitch node) {

Powered by Google App Engine
This is Rietveld 408576698