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

Unified Diff: runtime/vm/ast_printer.cc

Issue 27192005: Add new style of string interpolation optimization: new nodes, working constant folding. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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: runtime/vm/ast_printer.cc
===================================================================
--- runtime/vm/ast_printer.cc (revision 28647)
+++ runtime/vm/ast_printer.cc (working copy)
@@ -124,6 +124,11 @@
}
+void AstPrinter::VisitStringInterpolateNode(StringInterpolateNode* node) {
+ VisitGenericAstNode(node);
+}
+
+
void AstPrinter::VisitLiteralNode(LiteralNode* node) {
const Instance& literal = node->literal();
OS::Print("(%s \"%s\")", node->PrettyName(), literal.ToCString());

Powered by Google App Engine
This is Rietveld 408576698