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

Side by Side Diff: vm/ast_printer.cc

Issue 10693092: Remove unused code for StringConcatNode from the AST and the graph builder. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « vm/ast.cc ('k') | vm/flow_graph_builder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/ast_printer.h" 5 #include "vm/ast_printer.h"
6 6
7 #include "vm/handles.h" 7 #include "vm/handles.h"
8 #include "vm/object.h" 8 #include "vm/object.h"
9 #include "vm/os.h" 9 #include "vm/os.h"
10 #include "vm/parser.h" 10 #include "vm/parser.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void AstPrinter::VisitComparisonNode(ComparisonNode* node) { 151 void AstPrinter::VisitComparisonNode(ComparisonNode* node) {
152 VisitGenericAstNode(node); 152 VisitGenericAstNode(node);
153 } 153 }
154 154
155 155
156 void AstPrinter::VisitBinaryOpNode(BinaryOpNode* node) { 156 void AstPrinter::VisitBinaryOpNode(BinaryOpNode* node) {
157 VisitGenericAstNode(node); 157 VisitGenericAstNode(node);
158 } 158 }
159 159
160 160
161 void AstPrinter::VisitStringConcatNode(StringConcatNode* node) {
162 VisitGenericAstNode(node);
163 }
164
165
166 void AstPrinter::VisitUnaryOpNode(UnaryOpNode* node) { 161 void AstPrinter::VisitUnaryOpNode(UnaryOpNode* node) {
167 VisitGenericAstNode(node); 162 VisitGenericAstNode(node);
168 } 163 }
169 164
170 165
171 void AstPrinter::VisitConditionalExprNode(ConditionalExprNode* node) { 166 void AstPrinter::VisitConditionalExprNode(ConditionalExprNode* node) {
172 VisitGenericAstNode(node); 167 VisitGenericAstNode(node);
173 } 168 }
174 169
175 170
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 ASSERT(node_sequence != NULL); 472 ASSERT(node_sequence != NULL);
478 AstPrinter ast_printer; 473 AstPrinter ast_printer;
479 const char* function_name = 474 const char* function_name =
480 parsed_function.function().ToFullyQualifiedCString(); 475 parsed_function.function().ToFullyQualifiedCString();
481 OS::Print("Ast for function '%s' {\n", function_name); 476 OS::Print("Ast for function '%s' {\n", function_name);
482 node_sequence->Visit(&ast_printer); 477 node_sequence->Visit(&ast_printer);
483 OS::Print("}\n"); 478 OS::Print("}\n");
484 } 479 }
485 480
486 } // namespace dart 481 } // namespace dart
OLDNEW
« no previous file with comments | « vm/ast.cc ('k') | vm/flow_graph_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698