| 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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 }; | 809 }; |
| 809 | 810 |
| 810 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 811 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
| 811 const Bytecode& bytecode); | 812 const Bytecode& bytecode); |
| 812 | 813 |
| 813 } // namespace interpreter | 814 } // namespace interpreter |
| 814 } // namespace internal | 815 } // namespace internal |
| 815 } // namespace v8 | 816 } // namespace v8 |
| 816 | 817 |
| 817 #endif // V8_INTERPRETER_BYTECODES_H_ | 818 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |