| 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 | 635 |
| 636 | 636 |
| 637 void Float32x4ComparisonInstr::PrintOperandsTo(BufferFormatter* f) const { | 637 void Float32x4ComparisonInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 638 f->Print("Float32x4 Comparison %d", op_kind()); | 638 f->Print("Float32x4 Comparison %d", op_kind()); |
| 639 left()->PrintTo(f); | 639 left()->PrintTo(f); |
| 640 f->Print(", "); | 640 f->Print(", "); |
| 641 right()->PrintTo(f); | 641 right()->PrintTo(f); |
| 642 } | 642 } |
| 643 | 643 |
| 644 | 644 |
| 645 void Float32x4MinMaxInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 646 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind())); |
| 647 left()->PrintTo(f); |
| 648 f->Print(", "); |
| 649 right()->PrintTo(f); |
| 650 } |
| 651 |
| 652 |
| 653 void Float32x4SqrtInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 654 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind())); |
| 655 left()->PrintTo(f); |
| 656 } |
| 657 |
| 658 |
| 659 void Float32x4ScaleInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 660 f->Print("%s, ", MethodRecognizer::KindToCString(op_kind())); |
| 661 left()->PrintTo(f); |
| 662 f->Print(", "); |
| 663 right()->PrintTo(f); |
| 664 } |
| 665 |
| 666 |
| 645 void BinaryMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { | 667 void BinaryMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 646 f->Print("%s, ", Token::Str(op_kind())); | 668 f->Print("%s, ", Token::Str(op_kind())); |
| 647 left()->PrintTo(f); | 669 left()->PrintTo(f); |
| 648 f->Print(", "); | 670 f->Print(", "); |
| 649 right()->PrintTo(f); | 671 right()->PrintTo(f); |
| 650 } | 672 } |
| 651 | 673 |
| 652 | 674 |
| 653 void ShiftMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { | 675 void ShiftMintOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 654 f->Print("%s, ", Token::Str(op_kind())); | 676 f->Print("%s, ", Token::Str(op_kind())); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 f->Print(" ["); | 845 f->Print(" ["); |
| 824 locations_[i].PrintTo(f); | 846 locations_[i].PrintTo(f); |
| 825 f->Print("]"); | 847 f->Print("]"); |
| 826 } | 848 } |
| 827 } | 849 } |
| 828 f->Print(" }"); | 850 f->Print(" }"); |
| 829 if (outer_ != NULL) outer_->PrintTo(f); | 851 if (outer_ != NULL) outer_->PrintTo(f); |
| 830 } | 852 } |
| 831 | 853 |
| 832 } // namespace dart | 854 } // namespace dart |
| OLD | NEW |