| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 V(ShiftRight, OperandType::kReg8) \ | 155 V(ShiftRight, OperandType::kReg8) \ |
| 156 V(ShiftRightLogical, OperandType::kReg8) \ | 156 V(ShiftRightLogical, OperandType::kReg8) \ |
| 157 \ | 157 \ |
| 158 /* Unary Operators */ \ | 158 /* Unary Operators */ \ |
| 159 V(Inc, OperandType::kNone) \ | 159 V(Inc, OperandType::kNone) \ |
| 160 V(Dec, OperandType::kNone) \ | 160 V(Dec, OperandType::kNone) \ |
| 161 V(LogicalNot, OperandType::kNone) \ | 161 V(LogicalNot, OperandType::kNone) \ |
| 162 V(TypeOf, OperandType::kNone) \ | 162 V(TypeOf, OperandType::kNone) \ |
| 163 V(DeletePropertyStrict, OperandType::kReg8) \ | 163 V(DeletePropertyStrict, OperandType::kReg8) \ |
| 164 V(DeletePropertySloppy, OperandType::kReg8) \ | 164 V(DeletePropertySloppy, OperandType::kReg8) \ |
| 165 V(DeleteLookupSlot, OperandType::kNone) \ | |
| 166 \ | 165 \ |
| 167 /* Call operations */ \ | 166 /* Call operations */ \ |
| 168 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8, \ | 167 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kRegCount8, \ |
| 169 OperandType::kIdx8) \ | 168 OperandType::kIdx8) \ |
| 170 V(CallWide, OperandType::kReg16, OperandType::kReg16, \ | 169 V(CallWide, OperandType::kReg16, OperandType::kReg16, \ |
| 171 OperandType::kRegCount16, OperandType::kIdx16) \ | 170 OperandType::kRegCount16, OperandType::kIdx16) \ |
| 172 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \ | 171 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \ |
| 173 OperandType::kRegCount8) \ | 172 OperandType::kRegCount8) \ |
| 174 V(CallRuntimeWide, OperandType::kIdx16, OperandType::kMaybeReg16, \ | 173 V(CallRuntimeWide, OperandType::kIdx16, OperandType::kMaybeReg16, \ |
| 175 OperandType::kRegCount8) \ | 174 OperandType::kRegCount8) \ |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 | 495 |
| 497 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 496 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 498 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 497 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 499 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 498 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 500 | 499 |
| 501 } // namespace interpreter | 500 } // namespace interpreter |
| 502 } // namespace internal | 501 } // namespace internal |
| 503 } // namespace v8 | 502 } // namespace v8 |
| 504 | 503 |
| 505 #endif // V8_INTERPRETER_BYTECODES_H_ | 504 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |