| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 V(TestLessThanOrEqual, OperandType::kReg8) \ | 104 V(TestLessThanOrEqual, OperandType::kReg8) \ |
| 105 V(TestGreaterThanOrEqual, OperandType::kReg8) \ | 105 V(TestGreaterThanOrEqual, OperandType::kReg8) \ |
| 106 V(TestInstanceOf, OperandType::kReg8) \ | 106 V(TestInstanceOf, OperandType::kReg8) \ |
| 107 V(TestIn, OperandType::kReg8) \ | 107 V(TestIn, OperandType::kReg8) \ |
| 108 \ | 108 \ |
| 109 /* Cast operators */ \ | 109 /* Cast operators */ \ |
| 110 V(ToBoolean, OperandType::kNone) \ | 110 V(ToBoolean, OperandType::kNone) \ |
| 111 V(ToName, OperandType::kNone) \ | 111 V(ToName, OperandType::kNone) \ |
| 112 \ | 112 \ |
| 113 /* Literals */ \ | 113 /* Literals */ \ |
| 114 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \ |
| 114 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ | 115 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ |
| 115 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ | 116 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ |
| 116 \ | 117 \ |
| 117 /* Closure allocation */ \ | 118 /* Closure allocation */ \ |
| 118 V(CreateClosure, OperandType::kImm8) \ | 119 V(CreateClosure, OperandType::kImm8) \ |
| 119 \ | 120 \ |
| 120 /* Control Flow */ \ | 121 /* Control Flow */ \ |
| 121 V(Jump, OperandType::kImm8) \ | 122 V(Jump, OperandType::kImm8) \ |
| 122 V(JumpConstant, OperandType::kIdx8) \ | 123 V(JumpConstant, OperandType::kIdx8) \ |
| 123 V(JumpIfTrue, OperandType::kImm8) \ | 124 V(JumpIfTrue, OperandType::kImm8) \ |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 277 |
| 277 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 278 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 278 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 279 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 279 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 280 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 280 | 281 |
| 281 } // namespace interpreter | 282 } // namespace interpreter |
| 282 } // namespace internal | 283 } // namespace internal |
| 283 } // namespace v8 | 284 } // namespace v8 |
| 284 | 285 |
| 285 #endif // V8_INTERPRETER_BYTECODES_H_ | 286 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |