OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_INTERPRETER_BYTECODES_H_ | 5 #ifndef V8_INTERPRETER_BYTECODES_H_ |
6 #define V8_INTERPRETER_BYTECODES_H_ | 6 #define V8_INTERPRETER_BYTECODES_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <string> | 10 #include <string> |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ | 160 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ |
161 OperandType::kRegList, OperandType::kRegCount) \ | 161 OperandType::kRegList, OperandType::kRegCount) \ |
162 \ | 162 \ |
163 /* Intrinsics */ \ | 163 /* Intrinsics */ \ |
164 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ | 164 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ |
165 OperandType::kRegList, OperandType::kRegCount) \ | 165 OperandType::kRegList, OperandType::kRegCount) \ |
166 \ | 166 \ |
167 /* New operators */ \ | 167 /* New operators */ \ |
168 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kRegList, \ | 168 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kRegList, \ |
169 OperandType::kRegCount, OperandType::kIdx) \ | 169 OperandType::kRegCount, OperandType::kIdx) \ |
170 V(NewWithSpread, AccumulatorUse::kWrite, OperandType::kRegList, \ | 170 V(NewWithSpread, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
171 OperandType::kRegCount) \ | 171 OperandType::kRegList, OperandType::kRegCount) \ |
172 \ | 172 \ |
173 /* Test Operators */ \ | 173 /* Test Operators */ \ |
174 V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 174 V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
175 OperandType::kIdx) \ | 175 OperandType::kIdx) \ |
176 V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 176 V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
177 OperandType::kIdx) \ | 177 OperandType::kIdx) \ |
178 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 178 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
179 OperandType::kIdx) \ | 179 OperandType::kIdx) \ |
180 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 180 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
181 OperandType::kIdx) \ | 181 OperandType::kIdx) \ |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 }; | 816 }; |
817 | 817 |
818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
819 const Bytecode& bytecode); | 819 const Bytecode& bytecode); |
820 | 820 |
821 } // namespace interpreter | 821 } // namespace interpreter |
822 } // namespace internal | 822 } // namespace internal |
823 } // namespace v8 | 823 } // namespace v8 |
824 | 824 |
825 #endif // V8_INTERPRETER_BYTECODES_H_ | 825 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |