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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 } | 734 } |
735 } | 735 } |
736 | 736 |
737 | 737 |
738 void MathUnaryInstr::PrintOperandsTo(BufferFormatter* f) const { | 738 void MathUnaryInstr::PrintOperandsTo(BufferFormatter* f) const { |
739 f->Print("'%s', ", MathUnaryInstr::KindToCString(kind())); | 739 f->Print("'%s', ", MathUnaryInstr::KindToCString(kind())); |
740 value()->PrintTo(f); | 740 value()->PrintTo(f); |
741 } | 741 } |
742 | 742 |
743 | 743 |
744 void MergedMathInstr::PrintOperandsTo(BufferFormatter* f) const { | 744 void TruncDivModInstr::PrintOperandsTo(BufferFormatter* f) const { |
745 f->Print("'%s', ", MergedMathInstr::KindToCString(kind())); | |
746 Definition::PrintOperandsTo(f); | 745 Definition::PrintOperandsTo(f); |
747 } | 746 } |
748 | 747 |
749 | 748 |
750 void ExtractNthOutputInstr::PrintOperandsTo(BufferFormatter* f) const { | 749 void ExtractNthOutputInstr::PrintOperandsTo(BufferFormatter* f) const { |
751 f->Print("Extract %" Pd " from ", index()); | 750 f->Print("Extract %" Pd " from ", index()); |
752 Definition::PrintOperandsTo(f); | 751 Definition::PrintOperandsTo(f); |
753 } | 752 } |
754 | 753 |
755 | 754 |
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1385 } | 1384 } |
1386 | 1385 |
1387 | 1386 |
1388 bool FlowGraphPrinter::ShouldPrint(const Function& function) { | 1387 bool FlowGraphPrinter::ShouldPrint(const Function& function) { |
1389 return false; | 1388 return false; |
1390 } | 1389 } |
1391 | 1390 |
1392 #endif // !PRODUCT | 1391 #endif // !PRODUCT |
1393 | 1392 |
1394 } // namespace dart | 1393 } // namespace dart |
OLD | NEW |