| 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, \ | 154 V(CallWithSpread, AccumulatorUse::kWrite, OperandType::kReg, \ |
| 155 OperandType::kRegCount) \ | 155 OperandType::kRegList, OperandType::kRegCount) \ |
| 156 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \ | 156 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \ |
| 157 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ | 157 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ |
| 158 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ | 158 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ |
| 159 OperandType::kRegList, OperandType::kRegCount) \ | 159 OperandType::kRegList, OperandType::kRegCount) \ |
| 160 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ | 160 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ |
| 161 OperandType::kRegList, OperandType::kRegCount, OperandType::kRegOutPair) \ | 161 OperandType::kRegList, OperandType::kRegCount, OperandType::kRegOutPair) \ |
| 162 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ | 162 V(CallJSRuntime, AccumulatorUse::kWrite, OperandType::kIdx, \ |
| 163 OperandType::kRegList, OperandType::kRegCount) \ | 163 OperandType::kRegList, OperandType::kRegCount) \ |
| 164 \ | 164 \ |
| 165 /* Intrinsics */ \ | 165 /* Intrinsics */ \ |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 }; | 818 }; |
| 819 | 819 |
| 820 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 820 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
| 821 const Bytecode& bytecode); | 821 const Bytecode& bytecode); |
| 822 | 822 |
| 823 } // namespace interpreter | 823 } // namespace interpreter |
| 824 } // namespace internal | 824 } // namespace internal |
| 825 } // namespace v8 | 825 } // namespace v8 |
| 826 | 826 |
| 827 #endif // V8_INTERPRETER_BYTECODES_H_ | 827 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |