| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 258   V(ForInNextWide, OperandType::kReg16, OperandType::kReg16,                   \ | 258   V(ForInNextWide, OperandType::kReg16, OperandType::kReg16,                   \ | 
| 259     OperandType::kRegPair16)                                                   \ | 259     OperandType::kRegPair16)                                                   \ | 
| 260   V(ForInStep, OperandType::kReg8)                                             \ | 260   V(ForInStep, OperandType::kReg8)                                             \ | 
| 261                                                                                \ | 261                                                                                \ | 
| 262   /* Perform a stack guard check */                                            \ | 262   /* Perform a stack guard check */                                            \ | 
| 263   V(StackCheck, OperandType::kNone)                                            \ | 263   V(StackCheck, OperandType::kNone)                                            \ | 
| 264                                                                                \ | 264                                                                                \ | 
| 265   /* Non-local flow control */                                                 \ | 265   /* Non-local flow control */                                                 \ | 
| 266   V(Throw, OperandType::kNone)                                                 \ | 266   V(Throw, OperandType::kNone)                                                 \ | 
| 267   V(ReThrow, OperandType::kNone)                                               \ | 267   V(ReThrow, OperandType::kNone)                                               \ | 
| 268   V(Return, OperandType::kNone) | 268   V(Return, OperandType::kNone)                                                \ | 
|  | 269                                                                                \ | 
|  | 270   /* Debugger */                                                               \ | 
|  | 271   V(Debugger, OperandType::kNone) | 
| 269 | 272 | 
| 270 // Enumeration of the size classes of operand types used by bytecodes. | 273 // Enumeration of the size classes of operand types used by bytecodes. | 
| 271 enum class OperandSize : uint8_t { | 274 enum class OperandSize : uint8_t { | 
| 272   kNone = 0, | 275   kNone = 0, | 
| 273   kByte = 1, | 276   kByte = 1, | 
| 274   kShort = 2, | 277   kShort = 2, | 
| 275 }; | 278 }; | 
| 276 | 279 | 
| 277 | 280 | 
| 278 // Enumeration of operand types used by bytecodes. | 281 // Enumeration of operand types used by bytecodes. | 
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 487 | 490 | 
| 488 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 491 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 
| 489 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 492 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 
| 490 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 493 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 
| 491 | 494 | 
| 492 }  // namespace interpreter | 495 }  // namespace interpreter | 
| 493 }  // namespace internal | 496 }  // namespace internal | 
| 494 }  // namespace v8 | 497 }  // namespace v8 | 
| 495 | 498 | 
| 496 #endif  // V8_INTERPRETER_BYTECODES_H_ | 499 #endif  // V8_INTERPRETER_BYTECODES_H_ | 
| OLD | NEW | 
|---|