| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 /* Call operations. */ \ | 61 /* Call operations. */ \ |
| 62 V(Call, OperandType::kReg, OperandType::kReg, OperandType::kCount) \ | 62 V(Call, OperandType::kReg, OperandType::kReg, OperandType::kCount) \ |
| 63 \ | 63 \ |
| 64 /* Test Operators */ \ | 64 /* Test Operators */ \ |
| 65 V(TestEqual, OperandType::kReg) \ | 65 V(TestEqual, OperandType::kReg) \ |
| 66 V(TestNotEqual, OperandType::kReg) \ | 66 V(TestNotEqual, OperandType::kReg) \ |
| 67 V(TestEqualStrict, OperandType::kReg) \ | 67 V(TestEqualStrict, OperandType::kReg) \ |
| 68 V(TestNotEqualStrict, OperandType::kReg) \ | 68 V(TestNotEqualStrict, OperandType::kReg) \ |
| 69 V(TestLessThan, OperandType::kReg) \ | 69 V(TestLessThan, OperandType::kReg) \ |
| 70 V(TestGreaterThan, OperandType::kReg) \ | 70 V(TestGreaterThan, OperandType::kReg) \ |
| 71 V(TestLessThanEqual, OperandType::kReg) \ | 71 V(TestLessThanOrEqual, OperandType::kReg) \ |
| 72 V(TestGreaterThanEqual, OperandType::kReg) \ | 72 V(TestGreaterThanOrEqual, OperandType::kReg) \ |
| 73 V(TestInstanceOf, OperandType::kReg) \ | 73 V(TestInstanceOf, OperandType::kReg) \ |
| 74 V(TestIn, OperandType::kReg) \ | 74 V(TestIn, OperandType::kReg) \ |
| 75 \ | 75 \ |
| 76 /* Cast operators */ \ | 76 /* Cast operators */ \ |
| 77 V(ToBoolean, OperandType::kNone) \ | 77 V(ToBoolean, OperandType::kNone) \ |
| 78 \ | 78 \ |
| 79 /* Control Flow */ \ | 79 /* Control Flow */ \ |
| 80 V(Jump, OperandType::kImm8) \ | 80 V(Jump, OperandType::kImm8) \ |
| 81 V(JumpConstant, OperandType::kIdx) \ | 81 V(JumpConstant, OperandType::kIdx) \ |
| 82 V(JumpIfTrue, OperandType::kImm8) \ | 82 V(JumpIfTrue, OperandType::kImm8) \ |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 189 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 190 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 190 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 191 | 191 |
| 192 } // namespace interpreter | 192 } // namespace interpreter |
| 193 } // namespace internal | 193 } // namespace internal |
| 194 } // namespace v8 | 194 } // namespace v8 |
| 195 | 195 |
| 196 #endif // V8_INTERPRETER_BYTECODES_H_ | 196 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |