| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 V(CreateObjectLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \ | 221 V(CreateObjectLiteralWide, OperandType::kIdx16, OperandType::kIdx16, \ |
| 222 OperandType::kImm8) \ | 222 OperandType::kImm8) \ |
| 223 \ | 223 \ |
| 224 /* Closure allocation */ \ | 224 /* Closure allocation */ \ |
| 225 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \ | 225 V(CreateClosure, OperandType::kIdx8, OperandType::kImm8) \ |
| 226 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \ | 226 V(CreateClosureWide, OperandType::kIdx16, OperandType::kImm8) \ |
| 227 \ | 227 \ |
| 228 /* Arguments allocation */ \ | 228 /* Arguments allocation */ \ |
| 229 V(CreateMappedArguments, OperandType::kNone) \ | 229 V(CreateMappedArguments, OperandType::kNone) \ |
| 230 V(CreateUnmappedArguments, OperandType::kNone) \ | 230 V(CreateUnmappedArguments, OperandType::kNone) \ |
| 231 V(CreateRestArguments, OperandType::kIdx8) \ | 231 V(CreateRestParameter, OperandType::kNone) \ |
| 232 \ | 232 \ |
| 233 /* Control Flow */ \ | 233 /* Control Flow */ \ |
| 234 V(Jump, OperandType::kImm8) \ | 234 V(Jump, OperandType::kImm8) \ |
| 235 V(JumpConstant, OperandType::kIdx8) \ | 235 V(JumpConstant, OperandType::kIdx8) \ |
| 236 V(JumpConstantWide, OperandType::kIdx16) \ | 236 V(JumpConstantWide, OperandType::kIdx16) \ |
| 237 V(JumpIfTrue, OperandType::kImm8) \ | 237 V(JumpIfTrue, OperandType::kImm8) \ |
| 238 V(JumpIfTrueConstant, OperandType::kIdx8) \ | 238 V(JumpIfTrueConstant, OperandType::kIdx8) \ |
| 239 V(JumpIfTrueConstantWide, OperandType::kIdx16) \ | 239 V(JumpIfTrueConstantWide, OperandType::kIdx16) \ |
| 240 V(JumpIfFalse, OperandType::kImm8) \ | 240 V(JumpIfFalse, OperandType::kImm8) \ |
| 241 V(JumpIfFalseConstant, OperandType::kIdx8) \ | 241 V(JumpIfFalseConstant, OperandType::kIdx8) \ |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 | 490 |
| 491 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 491 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 492 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 492 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 493 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 493 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 494 | 494 |
| 495 } // namespace interpreter | 495 } // namespace interpreter |
| 496 } // namespace internal | 496 } // namespace internal |
| 497 } // namespace v8 | 497 } // namespace v8 |
| 498 | 498 |
| 499 #endif // V8_INTERPRETER_BYTECODES_H_ | 499 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |