OLD | NEW |
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/flow_graph_range_analysis.h" | 7 #include "vm/flow_graph_range_analysis.h" |
8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
9 #include "vm/os.h" | 9 #include "vm/os.h" |
10 #include "vm/parser.h" | 10 #include "vm/parser.h" |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 } | 507 } |
508 | 508 |
509 | 509 |
510 void PolymorphicInstanceCallInstr::PrintOperandsTo(BufferFormatter* f) const { | 510 void PolymorphicInstanceCallInstr::PrintOperandsTo(BufferFormatter* f) const { |
511 f->Print(" %s", instance_call()->function_name().ToCString()); | 511 f->Print(" %s", instance_call()->function_name().ToCString()); |
512 for (intptr_t i = 0; i < ArgumentCount(); ++i) { | 512 for (intptr_t i = 0; i < ArgumentCount(); ++i) { |
513 f->Print(", "); | 513 f->Print(", "); |
514 PushArgumentAt(i)->value()->PrintTo(f); | 514 PushArgumentAt(i)->value()->PrintTo(f); |
515 } | 515 } |
516 PrintTargetsHelper(f, targets_, FlowGraphPrinter::kPrintAll); | 516 PrintTargetsHelper(f, targets_, FlowGraphPrinter::kPrintAll); |
517 if (with_checks()) { | |
518 f->Print(" WITH-CHECKS"); | |
519 } | |
520 if (complete()) { | 517 if (complete()) { |
521 f->Print(" COMPLETE"); | 518 f->Print(" COMPLETE"); |
522 } | 519 } |
523 } | 520 } |
524 | 521 |
525 | 522 |
526 void StrictCompareInstr::PrintOperandsTo(BufferFormatter* f) const { | 523 void StrictCompareInstr::PrintOperandsTo(BufferFormatter* f) const { |
527 f->Print("%s, ", Token::Str(kind())); | 524 f->Print("%s, ", Token::Str(kind())); |
528 left()->PrintTo(f); | 525 left()->PrintTo(f); |
529 f->Print(", "); | 526 f->Print(", "); |
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1358 } | 1355 } |
1359 | 1356 |
1360 | 1357 |
1361 bool FlowGraphPrinter::ShouldPrint(const Function& function) { | 1358 bool FlowGraphPrinter::ShouldPrint(const Function& function) { |
1362 return false; | 1359 return false; |
1363 } | 1360 } |
1364 | 1361 |
1365 #endif // !PRODUCT | 1362 #endif // !PRODUCT |
1366 | 1363 |
1367 } // namespace dart | 1364 } // namespace dart |
OLD | NEW |