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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kRegOutPair) \ | 190 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kRegOutPair) \ |
191 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ | 191 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ |
192 OperandType::kReg, OperandType::kRegCount) \ | 192 OperandType::kReg, OperandType::kRegCount) \ |
193 \ | 193 \ |
194 /* Intrinsics */ \ | 194 /* Intrinsics */ \ |
195 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ | 195 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ |
196 OperandType::kMaybeReg, OperandType::kRegCount) \ | 196 OperandType::kMaybeReg, OperandType::kRegCount) \ |
197 \ | 197 \ |
198 /* New operator */ \ | 198 /* New operator */ \ |
199 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 199 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
200 OperandType::kMaybeReg, OperandType::kRegCount) \ | 200 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kIdx) \ |
201 \ | 201 \ |
202 /* Test Operators */ \ | 202 /* Test Operators */ \ |
203 V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 203 V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
204 V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 204 V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
205 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 205 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
206 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 206 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
207 V(TestGreaterThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 207 V(TestGreaterThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
208 V(TestLessThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 208 V(TestLessThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
209 V(TestGreaterThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 209 V(TestGreaterThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
210 V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 210 V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); | 570 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); |
571 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); | 571 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); |
572 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); | 572 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); |
573 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 573 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
574 | 574 |
575 } // namespace interpreter | 575 } // namespace interpreter |
576 } // namespace internal | 576 } // namespace internal |
577 } // namespace v8 | 577 } // namespace v8 |
578 | 578 |
579 #endif // V8_INTERPRETER_BYTECODES_H_ | 579 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |