| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 /* Literals */ \ | 201 /* Literals */ \ |
| 202 V(CreateRegExpLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ | 202 V(CreateRegExpLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ |
| 203 OperandType::kIdx, OperandType::kFlag8) \ | 203 OperandType::kIdx, OperandType::kFlag8) \ |
| 204 V(CreateArrayLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ | 204 V(CreateArrayLiteral, AccumulatorUse::kWrite, OperandType::kIdx, \ |
| 205 OperandType::kIdx, OperandType::kFlag8) \ | 205 OperandType::kIdx, OperandType::kFlag8) \ |
| 206 V(CreateObjectLiteral, AccumulatorUse::kNone, OperandType::kIdx, \ | 206 V(CreateObjectLiteral, AccumulatorUse::kNone, OperandType::kIdx, \ |
| 207 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \ | 207 OperandType::kIdx, OperandType::kFlag8, OperandType::kRegOut) \ |
| 208 \ | 208 \ |
| 209 /* Closure allocation */ \ | 209 /* Closure allocation */ \ |
| 210 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ | 210 V(CreateClosure, AccumulatorUse::kWrite, OperandType::kIdx, \ |
| 211 OperandType::kIdx, OperandType::kFlag8) \ | 211 OperandType::kFlag8) \ |
| 212 \ | 212 \ |
| 213 /* Context allocation */ \ | 213 /* Context allocation */ \ |
| 214 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ | 214 V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) \ |
| 215 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 215 V(CreateCatchContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 216 OperandType::kIdx, OperandType::kIdx) \ | 216 OperandType::kIdx, OperandType::kIdx) \ |
| 217 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kUImm) \ | 217 V(CreateFunctionContext, AccumulatorUse::kWrite, OperandType::kUImm) \ |
| 218 V(CreateEvalContext, AccumulatorUse::kWrite, OperandType::kUImm) \ | 218 V(CreateEvalContext, AccumulatorUse::kWrite, OperandType::kUImm) \ |
| 219 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 219 V(CreateWithContext, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 220 OperandType::kIdx) \ | 220 OperandType::kIdx) \ |
| 221 \ | 221 \ |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 }; | 816 }; |
| 817 | 817 |
| 818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
| 819 const Bytecode& bytecode); | 819 const Bytecode& bytecode); |
| 820 | 820 |
| 821 } // namespace interpreter | 821 } // namespace interpreter |
| 822 } // namespace internal | 822 } // namespace internal |
| 823 } // namespace v8 | 823 } // namespace v8 |
| 824 | 824 |
| 825 #endif // V8_INTERPRETER_BYTECODES_H_ | 825 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |