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 <cstdint> | 8 #include <cstdint> |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <string> | 10 #include <string> |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 V(DeletePropertySloppy, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 144 V(DeletePropertySloppy, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
145 \ | 145 \ |
146 /* GetSuperConstructor operator */ \ | 146 /* GetSuperConstructor operator */ \ |
147 V(GetSuperConstructor, AccumulatorUse::kRead, OperandType::kRegOut) \ | 147 V(GetSuperConstructor, AccumulatorUse::kRead, OperandType::kRegOut) \ |
148 \ | 148 \ |
149 /* Call operations */ \ | 149 /* Call operations */ \ |
150 V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kRegList, \ | 150 V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kRegList, \ |
151 OperandType::kRegCount, OperandType::kIdx) \ | 151 OperandType::kRegCount, OperandType::kIdx) \ |
152 V(CallProperty, AccumulatorUse::kWrite, OperandType::kReg, \ | 152 V(CallProperty, AccumulatorUse::kWrite, OperandType::kReg, \ |
153 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ | 153 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ |
| 154 V(CallWithSpread, AccumulatorUse::kWrite, OperandType::kRegList, \ |
| 155 OperandType::kRegCount) \ |
154 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \ | 156 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \ |
155 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ | 157 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ |
156 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ | 158 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ |
157 OperandType::kRegList, OperandType::kRegCount) \ | 159 OperandType::kRegList, OperandType::kRegCount) \ |
158 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ | 160 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ |
159 OperandType::kRegList, OperandType::kRegCount, OperandType::kRegOutPair) \ | 161 OperandType::kRegList, OperandType::kRegCount, OperandType::kRegOutPair) \ |
160 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ | 162 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ |
161 OperandType::kRegList, OperandType::kRegCount) \ | 163 OperandType::kRegList, OperandType::kRegCount) \ |
162 \ | 164 \ |
163 /* Intrinsics */ \ | 165 /* Intrinsics */ \ |
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 }; | 818 }; |
817 | 819 |
818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 820 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
819 const Bytecode& bytecode); | 821 const Bytecode& bytecode); |
820 | 822 |
821 } // namespace interpreter | 823 } // namespace interpreter |
822 } // namespace internal | 824 } // namespace internal |
823 } // namespace v8 | 825 } // namespace v8 |
824 | 826 |
825 #endif // V8_INTERPRETER_BYTECODES_H_ | 827 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |