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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 V(ShiftRight, OperandType::kReg8) \ | 122 V(ShiftRight, OperandType::kReg8) \ |
123 V(ShiftRightLogical, OperandType::kReg8) \ | 123 V(ShiftRightLogical, OperandType::kReg8) \ |
124 \ | 124 \ |
125 /* Unary Operators */ \ | 125 /* Unary Operators */ \ |
126 V(Inc, OperandType::kNone) \ | 126 V(Inc, OperandType::kNone) \ |
127 V(Dec, OperandType::kNone) \ | 127 V(Dec, OperandType::kNone) \ |
128 V(LogicalNot, OperandType::kNone) \ | 128 V(LogicalNot, OperandType::kNone) \ |
129 V(TypeOf, OperandType::kNone) \ | 129 V(TypeOf, OperandType::kNone) \ |
130 V(DeletePropertyStrict, OperandType::kReg8) \ | 130 V(DeletePropertyStrict, OperandType::kReg8) \ |
131 V(DeletePropertySloppy, OperandType::kReg8) \ | 131 V(DeletePropertySloppy, OperandType::kReg8) \ |
| 132 V(DeleteLookupSlot, OperandType::kNone) \ |
132 \ | 133 \ |
133 /* Call operations */ \ | 134 /* Call operations */ \ |
134 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8, \ | 135 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8, \ |
135 OperandType::kIdx8) \ | 136 OperandType::kIdx8) \ |
136 V(CallWide, OperandType::kReg8, OperandType::kReg8, OperandType::kCount16, \ | 137 V(CallWide, OperandType::kReg8, OperandType::kReg8, OperandType::kCount16, \ |
137 OperandType::kIdx16) \ | 138 OperandType::kIdx16) \ |
138 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \ | 139 V(CallRuntime, OperandType::kIdx16, OperandType::kMaybeReg8, \ |
139 OperandType::kCount8) \ | 140 OperandType::kCount8) \ |
140 V(CallJSRuntime, OperandType::kIdx16, OperandType::kReg8, \ | 141 V(CallJSRuntime, OperandType::kIdx16, OperandType::kReg8, \ |
141 OperandType::kCount8) \ | 142 OperandType::kCount8) \ |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 | 384 |
384 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 385 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
385 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 386 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
386 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 387 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
387 | 388 |
388 } // namespace interpreter | 389 } // namespace interpreter |
389 } // namespace internal | 390 } // namespace internal |
390 } // namespace v8 | 391 } // namespace v8 |
391 | 392 |
392 #endif // V8_INTERPRETER_BYTECODES_H_ | 393 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |