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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 | 793 |
794 void Float64x2OneArgInstr::PrintOperandsTo(BufferFormatter* f) const { | 794 void Float64x2OneArgInstr::PrintOperandsTo(BufferFormatter* f) const { |
795 f->Print("%s(", MethodRecognizer::KindToCString(op_kind())); | 795 f->Print("%s(", MethodRecognizer::KindToCString(op_kind())); |
796 left()->PrintTo(f); | 796 left()->PrintTo(f); |
797 f->Print(", "); | 797 f->Print(", "); |
798 right()->PrintTo(f); | 798 right()->PrintTo(f); |
799 f->Print(")"); | 799 f->Print(")"); |
800 } | 800 } |
801 | 801 |
802 | 802 |
| 803 void Int32x4ConstructorInstr::PrintOperandsTo(BufferFormatter* f) const { |
| 804 f->Print("Int32x4("); |
| 805 value0()->PrintTo(f); |
| 806 f->Print(", "); |
| 807 value1()->PrintTo(f); |
| 808 f->Print(", "); |
| 809 value2()->PrintTo(f); |
| 810 f->Print(", "); |
| 811 value3()->PrintTo(f); |
| 812 f->Print(")"); |
| 813 } |
| 814 |
| 815 |
803 void Int32x4BoolConstructorInstr::PrintOperandsTo(BufferFormatter* f) const { | 816 void Int32x4BoolConstructorInstr::PrintOperandsTo(BufferFormatter* f) const { |
804 f->Print("Int32x4.bool("); | 817 f->Print("Int32x4.bool("); |
805 value0()->PrintTo(f); | 818 value0()->PrintTo(f); |
806 f->Print(", "); | 819 f->Print(", "); |
807 value1()->PrintTo(f); | 820 value1()->PrintTo(f); |
808 f->Print(", "); | 821 f->Print(", "); |
809 value2()->PrintTo(f); | 822 value2()->PrintTo(f); |
810 f->Print(", "); | 823 f->Print(", "); |
811 value3()->PrintTo(f); | 824 value3()->PrintTo(f); |
812 f->Print(")"); | 825 f->Print(")"); |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1094 } | 1107 } |
1095 | 1108 |
1096 const char* Environment::ToCString() const { | 1109 const char* Environment::ToCString() const { |
1097 char buffer[1024]; | 1110 char buffer[1024]; |
1098 BufferFormatter bf(buffer, 1024); | 1111 BufferFormatter bf(buffer, 1024); |
1099 PrintTo(&bf); | 1112 PrintTo(&bf); |
1100 return Isolate::Current()->current_zone()->MakeCopyOfString(buffer); | 1113 return Isolate::Current()->current_zone()->MakeCopyOfString(buffer); |
1101 } | 1114 } |
1102 | 1115 |
1103 } // namespace dart | 1116 } // namespace dart |
OLD | NEW |