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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 \ | 195 \ |
196 /* Closure allocation */ \ | 196 /* Closure allocation */ \ |
197 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ | 197 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ |
198 OperandType::kFlag8) \ | 198 OperandType::kFlag8) \ |
199 \ | 199 \ |
200 /* Context allocation */ \ | 200 /* Context allocation */ \ |
201 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ | 201 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ |
202 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 202 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
203 OperandType::kIdx, OperandType::kIdx) \ | 203 OperandType::kIdx, OperandType::kIdx) \ |
204 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kUImm) \ | 204 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kUImm) \ |
| 205 V(CreateEvalContext, AccumulatorUse::kWrite, OperandType::kUImm) \ |
205 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 206 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
206 OperandType::kIdx) \ | 207 OperandType::kIdx) \ |
207 \ | 208 \ |
208 /* Arguments allocation */ \ | 209 /* Arguments allocation */ \ |
209 V(CreateMappedArguments, AccumulatorUse::kWrite) \ | 210 V(CreateMappedArguments, AccumulatorUse::kWrite) \ |
210 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \ | 211 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \ |
211 V(CreateRestParameter, AccumulatorUse::kWrite) \ | 212 V(CreateRestParameter, AccumulatorUse::kWrite) \ |
212 \ | 213 \ |
213 /* Control Flow */ \ | 214 /* Control Flow */ \ |
214 V(Jump, AccumulatorUse::kNone, OperandType::kImm) \ | 215 V(Jump, AccumulatorUse::kNone, OperandType::kImm) \ |
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 #undef CONSTEXPR | 736 #undef CONSTEXPR |
736 | 737 |
737 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 738 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
738 const Bytecode& bytecode); | 739 const Bytecode& bytecode); |
739 | 740 |
740 } // namespace interpreter | 741 } // namespace interpreter |
741 } // namespace internal | 742 } // namespace internal |
742 } // namespace v8 | 743 } // namespace v8 |
743 | 744 |
744 #endif // V8_INTERPRETER_BYTECODES_H_ | 745 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |