| 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 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 | 719 |
| 720 | 720 |
| 721 void BinaryDoubleOpInstr::PrintOperandsTo(BufferFormatter* f) const { | 721 void BinaryDoubleOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 722 f->Print("%s, ", Token::Str(op_kind())); | 722 f->Print("%s, ", Token::Str(op_kind())); |
| 723 left()->PrintTo(f); | 723 left()->PrintTo(f); |
| 724 f->Print(", "); | 724 f->Print(", "); |
| 725 right()->PrintTo(f); | 725 right()->PrintTo(f); |
| 726 } | 726 } |
| 727 | 727 |
| 728 | 728 |
| 729 void DoubleTestOpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 730 switch (op_kind()) { |
| 731 case MethodRecognizer::kDouble_getIsNaN: |
| 732 f->Print("IsNaN "); |
| 733 break; |
| 734 case MethodRecognizer::kDouble_getIsInfinite: |
| 735 f->Print("IsInfinite "); |
| 736 break; |
| 737 default: |
| 738 UNREACHABLE(); |
| 739 } |
| 740 value()->PrintTo(f); |
| 741 } |
| 742 |
| 743 |
| 729 void BinaryFloat32x4OpInstr::PrintOperandsTo(BufferFormatter* f) const { | 744 void BinaryFloat32x4OpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 730 f->Print("%s, ", Token::Str(op_kind())); | 745 f->Print("%s, ", Token::Str(op_kind())); |
| 731 left()->PrintTo(f); | 746 left()->PrintTo(f); |
| 732 f->Print(", "); | 747 f->Print(", "); |
| 733 right()->PrintTo(f); | 748 right()->PrintTo(f); |
| 734 } | 749 } |
| 735 | 750 |
| 736 | 751 |
| 737 void BinaryFloat64x2OpInstr::PrintOperandsTo(BufferFormatter* f) const { | 752 void BinaryFloat64x2OpInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 738 f->Print("%s, ", Token::Str(op_kind())); | 753 f->Print("%s, ", Token::Str(op_kind())); |
| (...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1307 } | 1322 } |
| 1308 | 1323 |
| 1309 | 1324 |
| 1310 bool FlowGraphPrinter::ShouldPrint(const Function& function) { | 1325 bool FlowGraphPrinter::ShouldPrint(const Function& function) { |
| 1311 return false; | 1326 return false; |
| 1312 } | 1327 } |
| 1313 | 1328 |
| 1314 #endif // !PRODUCT | 1329 #endif // !PRODUCT |
| 1315 | 1330 |
| 1316 } // namespace dart | 1331 } // namespace dart |
| OLD | NEW |