| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 V(CreateObjectLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \ | 218 V(CreateObjectLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \ |
| 219 OperandType::kImm8) \ | 219 OperandType::kImm8) \ |
| 220 \ | 220 \ |
| 221 /* Closure allocation */ \ | 221 /* Closure allocation */ \ |
| 222 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \ | 222 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \ |
| 223 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \ | 223 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \ |
| 224 \ | 224 \ |
| 225 /* Arguments allocation */ \ | 225 /* Arguments allocation */ \ |
| 226 V(CreateMappedArguments, OperandType::kNone) \ | 226 V(CreateMappedArguments, OperandType::kNone) \ |
| 227 V(CreateUnmappedArguments, OperandType::kNone) \ | 227 V(CreateUnmappedArguments, OperandType::kNone) \ |
| 228 V(CreateRestArguments, OperandType::kIdx8) \ |
| 228 \ | 229 \ |
| 229 /* Control Flow */ \ | 230 /* Control Flow */ \ |
| 230 V(Jump, OperandType::kImm8) \ | 231 V(Jump, OperandType::kImm8) \ |
| 231 V(JumpConstant, OperandType::kIdx8) \ | 232 V(JumpConstant, OperandType::kIdx8) \ |
| 232 V(JumpConstantWide, OperandType::kIdx16) \ | 233 V(JumpConstantWide, OperandType::kIdx16) \ |
| 233 V(JumpIfTrue, OperandType::kImm8) \ | 234 V(JumpIfTrue, OperandType::kImm8) \ |
| 234 V(JumpIfTrueConstant, OperandType::kIdx8) \ | 235 V(JumpIfTrueConstant, OperandType::kIdx8) \ |
| 235 V(JumpIfTrueConstantWide, OperandType::kIdx16) \ | 236 V(JumpIfTrueConstantWide, OperandType::kIdx16) \ |
| 236 V(JumpIfFalse, OperandType::kImm8) \ | 237 V(JumpIfFalse, OperandType::kImm8) \ |
| 237 V(JumpIfFalseConstant, OperandType::kIdx8) \ | 238 V(JumpIfFalseConstant, OperandType::kIdx8) \ |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 | 473 |
| 473 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 474 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 474 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 475 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 475 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 476 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 476 | 477 |
| 477 } // namespace interpreter | 478 } // namespace interpreter |
| 478 } // namespace internal | 479 } // namespace internal |
| 479 } // namespace v8 | 480 } // namespace v8 |
| 480 | 481 |
| 481 #endif // V8_INTERPRETER_BYTECODES_H_ | 482 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |