| 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/intermediate_language.h" | 7 #include "vm/intermediate_language.h" |
| 8 #include "vm/os.h" | 8 #include "vm/os.h" |
| 9 #include "vm/parser.h" | 9 #include "vm/parser.h" |
| 10 | 10 |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 | 588 |
| 589 | 589 |
| 590 void BinaryDoubleOpInstr::PrintOperandsTo(BufferFormatter* f) const { | 590 void BinaryDoubleOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 591 f->Print("%s, ", Token::Str(op_kind())); | 591 f->Print("%s, ", Token::Str(op_kind())); |
| 592 left()->PrintTo(f); | 592 left()->PrintTo(f); |
| 593 f->Print(", "); | 593 f->Print(", "); |
| 594 right()->PrintTo(f); | 594 right()->PrintTo(f); |
| 595 } | 595 } |
| 596 | 596 |
| 597 | 597 |
| 598 void BinaryFloat32x4OpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 599 f->Print("%s, ", Token::Str(op_kind())); |
| 600 left()->PrintTo(f); |
| 601 f->Print(", "); |
| 602 right()->PrintTo(f); |
| 603 } |
| 604 |
| 605 |
| 598 void BinaryMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { | 606 void BinaryMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 599 f->Print("%s, ", Token::Str(op_kind())); | 607 f->Print("%s, ", Token::Str(op_kind())); |
| 600 left()->PrintTo(f); | 608 left()->PrintTo(f); |
| 601 f->Print(", "); | 609 f->Print(", "); |
| 602 right()->PrintTo(f); | 610 right()->PrintTo(f); |
| 603 } | 611 } |
| 604 | 612 |
| 605 | 613 |
| 606 void ShiftMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { | 614 void ShiftMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 607 f->Print("%s, ", Token::Str(op_kind())); | 615 f->Print("%s, ", Token::Str(op_kind())); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 776 f->Print(" ["); | 784 f->Print(" ["); |
| 777 locations_[i].PrintTo(f); | 785 locations_[i].PrintTo(f); |
| 778 f->Print("]"); | 786 f->Print("]"); |
| 779 } | 787 } |
| 780 } | 788 } |
| 781 f->Print(" }"); | 789 f->Print(" }"); |
| 782 if (outer_ != NULL) outer_->PrintTo(f); | 790 if (outer_ != NULL) outer_->PrintTo(f); |
| 783 } | 791 } |
| 784 | 792 |
| 785 } // namespace dart | 793 } // namespace dart |
| OLD | NEW |