| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 OperandType::kIdx8) \ | 67 OperandType::kIdx8) \ |
| 68 V(KeyedStoreICStrict, OperandType::kReg8, OperandType::kReg8, \ | 68 V(KeyedStoreICStrict, OperandType::kReg8, OperandType::kReg8, \ |
| 69 OperandType::kIdx8) \ | 69 OperandType::kIdx8) \ |
| 70 \ | 70 \ |
| 71 /* Binary Operators */ \ | 71 /* Binary Operators */ \ |
| 72 V(Add, OperandType::kReg8) \ | 72 V(Add, OperandType::kReg8) \ |
| 73 V(Sub, OperandType::kReg8) \ | 73 V(Sub, OperandType::kReg8) \ |
| 74 V(Mul, OperandType::kReg8) \ | 74 V(Mul, OperandType::kReg8) \ |
| 75 V(Div, OperandType::kReg8) \ | 75 V(Div, OperandType::kReg8) \ |
| 76 V(Mod, OperandType::kReg8) \ | 76 V(Mod, OperandType::kReg8) \ |
| 77 V(BitwiseOr, OperandType::kReg8) \ |
| 78 V(BitwiseXor, OperandType::kReg8) \ |
| 79 V(BitwiseAnd, OperandType::kReg8) \ |
| 77 V(ShiftLeft, OperandType::kReg8) \ | 80 V(ShiftLeft, OperandType::kReg8) \ |
| 78 V(ShiftRight, OperandType::kReg8) \ | 81 V(ShiftRight, OperandType::kReg8) \ |
| 79 V(ShiftRightLogical, OperandType::kReg8) \ | 82 V(ShiftRightLogical, OperandType::kReg8) \ |
| 80 \ | 83 \ |
| 81 /* Unary Operators */ \ | 84 /* Unary Operators */ \ |
| 82 V(LogicalNot, OperandType::kNone) \ | 85 V(LogicalNot, OperandType::kNone) \ |
| 83 V(TypeOf, OperandType::kNone) \ | 86 V(TypeOf, OperandType::kNone) \ |
| 84 \ | 87 \ |
| 85 /* Call operations. */ \ | 88 /* Call operations. */ \ |
| 86 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ | 89 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 250 |
| 248 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 251 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 249 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 252 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 250 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 253 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 251 | 254 |
| 252 } // namespace interpreter | 255 } // namespace interpreter |
| 253 } // namespace internal | 256 } // namespace internal |
| 254 } // namespace v8 | 257 } // namespace v8 |
| 255 | 258 |
| 256 #endif // V8_INTERPRETER_BYTECODES_H_ | 259 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |