| 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kRegOutPair) \ | 198 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kRegOutPair) \ |
| 199 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ | 199 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ |
| 200 OperandType::kReg, OperandType::kRegCount) \ | 200 OperandType::kReg, OperandType::kRegCount) \ |
| 201 \ | 201 \ |
| 202 /* Intrinsics */ \ | 202 /* Intrinsics */ \ |
| 203 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ | 203 V(InvokeIntrinsic, AccumulatorUse::kWrite, OperandType::kIntrinsicId, \ |
| 204 OperandType::kMaybeReg, OperandType::kRegCount) \ | 204 OperandType::kMaybeReg, OperandType::kRegCount) \ |
| 205 \ | 205 \ |
| 206 /* New operator */ \ | 206 /* New operator */ \ |
| 207 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 207 V(New, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 208 OperandType::kMaybeReg, OperandType::kRegCount) \ | 208 OperandType::kMaybeReg, OperandType::kRegCount, OperandType::kIdx) \ |
| 209 \ | 209 \ |
| 210 /* Test Operators */ \ | 210 /* Test Operators */ \ |
| 211 V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 211 V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 212 OperandType::kIdx) \ | 212 OperandType::kIdx) \ |
| 213 V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 213 V(TestNotEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 214 OperandType::kIdx) \ | 214 OperandType::kIdx) \ |
| 215 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 215 V(TestEqualStrict, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 216 OperandType::kIdx) \ | 216 OperandType::kIdx) \ |
| 217 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 217 V(TestLessThan, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 218 OperandType::kIdx) \ | 218 OperandType::kIdx) \ |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); | 595 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); |
| 596 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); | 596 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); |
| 597 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); | 597 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); |
| 598 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 598 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 599 | 599 |
| 600 } // namespace interpreter | 600 } // namespace interpreter |
| 601 } // namespace internal | 601 } // namespace internal |
| 602 } // namespace v8 | 602 } // namespace v8 |
| 603 | 603 |
| 604 #endif // V8_INTERPRETER_BYTECODES_H_ | 604 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |