| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 \ | 136 \ |
| 137 /* Unary Operators */ \ | 137 /* Unary Operators */ \ |
| 138 V(Inc, AccumulatorUse::kReadWrite, OperandType::kIdx) \ | 138 V(Inc, AccumulatorUse::kReadWrite, OperandType::kIdx) \ |
| 139 V(Dec, AccumulatorUse::kReadWrite, OperandType::kIdx) \ | 139 V(Dec, AccumulatorUse::kReadWrite, OperandType::kIdx) \ |
| 140 V(ToBooleanLogicalNot, AccumulatorUse::kReadWrite) \ | 140 V(ToBooleanLogicalNot, AccumulatorUse::kReadWrite) \ |
| 141 V(LogicalNot, AccumulatorUse::kReadWrite) \ | 141 V(LogicalNot, AccumulatorUse::kReadWrite) \ |
| 142 V(TypeOf, AccumulatorUse::kReadWrite) \ | 142 V(TypeOf, AccumulatorUse::kReadWrite) \ |
| 143 V(DeletePropertyStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 143 V(DeletePropertyStrict, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 144 V(DeletePropertySloppy, AccumulatorUse::kReadWrite, OperandType::kReg) \ | 144 V(DeletePropertySloppy, AccumulatorUse::kReadWrite, OperandType::kReg) \ |
| 145 \ | 145 \ |
| 146 /* GetSuperConstructor operator */ \ |
| 147 V(GetSuperConstructor, AccumulatorUse::kRead, OperandType::kRegOut) \ |
| 148 \ |
| 146 /* Call operations */ \ | 149 /* Call operations */ \ |
| 147 V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kRegList, \ | 150 V(Call, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kRegList, \ |
| 148 OperandType::kRegCount, OperandType::kIdx) \ | 151 OperandType::kRegCount, OperandType::kIdx) \ |
| 149 V(CallProperty, AccumulatorUse::kWrite, OperandType::kReg, \ | 152 V(CallProperty, AccumulatorUse::kWrite, OperandType::kReg, \ |
| 150 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ | 153 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ |
| 151 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \ | 154 V(TailCall, AccumulatorUse::kWrite, OperandType::kReg, \ |
| 152 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ | 155 OperandType::kRegList, OperandType::kRegCount, OperandType::kIdx) \ |
| 153 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ | 156 V(CallRuntime, AccumulatorUse::kWrite, OperandType::kRuntimeId, \ |
| 154 OperandType::kRegList, OperandType::kRegCount) \ | 157 OperandType::kRegList, OperandType::kRegCount) \ |
| 155 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ | 158 V(CallRuntimeForPair, AccumulatorUse::kNone, OperandType::kRuntimeId, \ |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 }; | 815 }; |
| 813 | 816 |
| 814 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 817 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
| 815 const Bytecode& bytecode); | 818 const Bytecode& bytecode); |
| 816 | 819 |
| 817 } // namespace interpreter | 820 } // namespace interpreter |
| 818 } // namespace internal | 821 } // namespace internal |
| 819 } // namespace v8 | 822 } // namespace v8 |
| 820 | 823 |
| 821 #endif // V8_INTERPRETER_BYTECODES_H_ | 824 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |