| 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 <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 // Clients of this interface shouldn't depend on lots of interpreter internals. | 10 // Clients of this interface shouldn't depend on lots of interpreter internals. |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kRegOutPair) \ | 189 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kRegOutPair) \ |
| 190 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ | 190 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ |
| 191 OperandType::kReg, OperandType::kRegCount) \ | 191 OperandType::kReg, OperandType::kRegCount) \ |
| 192 \ | 192 \ |
| 193 /* Intrinsics */ \ | 193 /* Intrinsics */ \ |
| 194 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ | 194 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ |
| 195 OperandType::kMaybeReg, OperandType::kRegCount) \ | 195 OperandType::kMaybeReg, OperandType::kRegCount) \ |
| 196 \ | 196 \ |
| 197 /* New operator */ \ | 197 /* New operator */ \ |
| 198 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 198 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 199 OperandType::kMaybeReg, OperandType::kRegCount) \ | 199 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kIdx) \ |
| 200 \ | 200 \ |
| 201 /* Test Operators */ \ | 201 /* Test Operators */ \ |
| 202 V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 202 V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 203 V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 203 V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 204 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 204 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 205 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 205 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 206 V(TestGreaterThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 206 V(TestGreaterThan, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 207 V(TestLessThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 207 V(TestLessThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 208 V(TestGreaterThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 208 V(TestGreaterThanOrEqual, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 209 V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 209 V(TestInstanceOf, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); | 699 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); |
| 700 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); | 700 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); |
| 701 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); | 701 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); |
| 702 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 702 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 703 | 703 |
| 704 } // namespace interpreter | 704 } // namespace interpreter |
| 705 } // namespace internal | 705 } // namespace internal |
| 706 } // namespace v8 | 706 } // namespace v8 |
| 707 | 707 |
| 708 #endif // V8_INTERPRETER_BYTECODES_H_ | 708 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |