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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 V(BitwiseAnd, OperandType::kReg8) \ | 84 V(BitwiseAnd, OperandType::kReg8) \ |
85 V(ShiftLeft, OperandType::kReg8) \ | 85 V(ShiftLeft, OperandType::kReg8) \ |
86 V(ShiftRight, OperandType::kReg8) \ | 86 V(ShiftRight, OperandType::kReg8) \ |
87 V(ShiftRightLogical, OperandType::kReg8) \ | 87 V(ShiftRightLogical, OperandType::kReg8) \ |
88 \ | 88 \ |
89 /* Unary Operators */ \ | 89 /* Unary Operators */ \ |
90 V(Inc, OperandType::kNone) \ | 90 V(Inc, OperandType::kNone) \ |
91 V(Dec, OperandType::kNone) \ | 91 V(Dec, OperandType::kNone) \ |
92 V(LogicalNot, OperandType::kNone) \ | 92 V(LogicalNot, OperandType::kNone) \ |
93 V(TypeOf, OperandType::kNone) \ | 93 V(TypeOf, OperandType::kNone) \ |
| 94 V(DeletePropertyStrict, OperandType::kReg8) \ |
| 95 V(DeletePropertySloppy, OperandType::kReg8) \ |
94 \ | 96 \ |
95 /* Call operations */ \ | 97 /* Call operations */ \ |
96 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ | 98 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ |
97 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \ | 99 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \ |
98 OperandType::kCount8) \ | 100 OperandType::kCount8) \ |
99 \ | 101 \ |
100 /* New operator */ \ | 102 /* New operator */ \ |
101 V(New, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ | 103 V(New, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ |
102 \ | 104 \ |
103 /* Test Operators */ \ | 105 /* Test Operators */ \ |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 | 304 |
303 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 305 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
304 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 306 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
305 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 307 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
306 | 308 |
307 } // namespace interpreter | 309 } // namespace interpreter |
308 } // namespace internal | 310 } // namespace internal |
309 } // namespace v8 | 311 } // namespace v8 |
310 | 312 |
311 #endif // V8_INTERPRETER_BYTECODES_H_ | 313 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |