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

Side by Side Diff: vm/il_printer.cc

Issue 10391171: Remove an unused input operand from ExtractConstructorInstantiator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 7 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/flow_graph_compiler_x64.cc ('k') | vm/intermediate_language.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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/il_printer.h" 5 #include "vm/il_printer.h"
6 6
7 #include "vm/intermediate_language.h" 7 #include "vm/intermediate_language.h"
8 #include "vm/os.h" 8 #include "vm/os.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 OS::Print("ExtractConstructorTypeArguments(%s, ", type_args.ToCString()); 290 OS::Print("ExtractConstructorTypeArguments(%s, ", type_args.ToCString());
291 comp->instantiator()->Accept(this); 291 comp->instantiator()->Accept(this);
292 OS::Print(")"); 292 OS::Print(")");
293 } 293 }
294 294
295 295
296 void FlowGraphPrinter::VisitExtractConstructorInstantiator( 296 void FlowGraphPrinter::VisitExtractConstructorInstantiator(
297 ExtractConstructorInstantiatorComp* comp) { 297 ExtractConstructorInstantiatorComp* comp) {
298 OS::Print("ExtractConstructorInstantiator("); 298 OS::Print("ExtractConstructorInstantiator(");
299 comp->instantiator()->Accept(this); 299 comp->instantiator()->Accept(this);
300 OS::Print(", ");
301 comp->discard_value()->Accept(this);
302 OS::Print(")"); 300 OS::Print(")");
303 } 301 }
304 302
305 303
306 void FlowGraphPrinter::VisitAllocateContext(AllocateContextComp* comp) { 304 void FlowGraphPrinter::VisitAllocateContext(AllocateContextComp* comp) {
307 OS::Print("AllocateContext(%d)", comp->num_context_variables()); 305 OS::Print("AllocateContext(%d)", comp->num_context_variables());
308 } 306 }
309 307
310 308
311 void FlowGraphPrinter::VisitChainContext(ChainContextComp* comp) { 309 void FlowGraphPrinter::VisitChainContext(ChainContextComp* comp) {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 void FlowGraphPrinter::VisitBranch(BranchInstr* instr) { 390 void FlowGraphPrinter::VisitBranch(BranchInstr* instr) {
393 OS::Print(" if "); 391 OS::Print(" if ");
394 instr->value()->Accept(this); 392 instr->value()->Accept(this);
395 OS::Print(" goto (%d, %d)", 393 OS::Print(" goto (%d, %d)",
396 reverse_index(instr->true_successor()->postorder_number()), 394 reverse_index(instr->true_successor()->postorder_number()),
397 reverse_index(instr->false_successor()->postorder_number())); 395 reverse_index(instr->false_successor()->postorder_number()));
398 } 396 }
399 397
400 398
401 } // namespace dart 399 } // namespace dart
OLDNEW
« no previous file with comments | « vm/flow_graph_compiler_x64.cc ('k') | vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698