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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 \ | 203 \ |
204 /* Closure allocation */ \ | 204 /* Closure allocation */ \ |
205 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ | 205 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ |
206 OperandType::kFlag8) \ | 206 OperandType::kFlag8) \ |
207 \ | 207 \ |
208 /* Context allocation */ \ | 208 /* Context allocation */ \ |
209 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ | 209 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ |
210 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 210 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
211 OperandType::kIdx, OperandType::kIdx) \ | 211 OperandType::kIdx, OperandType::kIdx) \ |
212 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kUImm) \ | 212 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kUImm) \ |
| 213 V(CreateEvalContext, AccumulatorUse::kWrite, OperandType::kUImm) \ |
213 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 214 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
214 OperandType::kIdx) \ | 215 OperandType::kIdx) \ |
215 \ | 216 \ |
216 /* Arguments allocation */ \ | 217 /* Arguments allocation */ \ |
217 V(CreateMappedArguments, AccumulatorUse::kWrite) \ | 218 V(CreateMappedArguments, AccumulatorUse::kWrite) \ |
218 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \ | 219 V(CreateUnmappedArguments, AccumulatorUse::kWrite) \ |
219 V(CreateRestParameter, AccumulatorUse::kWrite) \ | 220 V(CreateRestParameter, AccumulatorUse::kWrite) \ |
220 \ | 221 \ |
221 /* Control Flow -- carefully ordered for efficient checks */ \ | 222 /* Control Flow -- carefully ordered for efficient checks */ \ |
222 /* - [Unconditional jumps] */ \ | 223 /* - [Unconditional jumps] */ \ |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
822 #undef CONSTEXPR | 823 #undef CONSTEXPR |
823 | 824 |
824 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 825 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
825 const Bytecode& bytecode); | 826 const Bytecode& bytecode); |
826 | 827 |
827 } // namespace interpreter | 828 } // namespace interpreter |
828 } // namespace internal | 829 } // namespace internal |
829 } // namespace v8 | 830 } // namespace v8 |
830 | 831 |
831 #endif // V8_INTERPRETER_BYTECODES_H_ | 832 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |