| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 \ | 90 \ |
| 91 /* Propery stores (StoreIC) operations */ \ | 91 /* Propery stores (StoreIC) operations */ \ |
| 92 V(StaNamedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ | 92 V(StaNamedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ |
| 93 OperandType::kIdx, OperandType::kIdx) \ | 93 OperandType::kIdx, OperandType::kIdx) \ |
| 94 V(StaNamedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ | 94 V(StaNamedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ |
| 95 OperandType::kIdx, OperandType::kIdx) \ | 95 OperandType::kIdx, OperandType::kIdx) \ |
| 96 V(StaKeyedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ | 96 V(StaKeyedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ |
| 97 OperandType::kReg, OperandType::kIdx) \ | 97 OperandType::kReg, OperandType::kIdx) \ |
| 98 V(StaKeyedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ | 98 V(StaKeyedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ |
| 99 OperandType::kReg, OperandType::kIdx) \ | 99 OperandType::kReg, OperandType::kIdx) \ |
| 100 V(StaDataPropertyInLiteral, AccumulatorUse::kRead, OperandType::kReg, \ |
| 101 OperandType::kReg, OperandType::kReg, OperandType::kReg) \ |
| 100 \ | 102 \ |
| 101 /* Binary Operators */ \ | 103 /* Binary Operators */ \ |
| 102 V(Add, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 104 V(Add, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 103 V(Sub, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 105 V(Sub, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 104 V(Mul, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 106 V(Mul, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 105 V(Div, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 107 V(Div, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 106 V(Mod, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 108 V(Mod, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 107 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 109 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 108 OperandType::kIdx) \ | 110 OperandType::kIdx) \ |
| 109 V(BitwiseXor, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 111 V(BitwiseXor, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| (...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 #undef CONSTEXPR | 740 #undef CONSTEXPR |
| 739 | 741 |
| 740 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 742 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
| 741 const Bytecode& bytecode); | 743 const Bytecode& bytecode); |
| 742 | 744 |
| 743 } // namespace interpreter | 745 } // namespace interpreter |
| 744 } // namespace internal | 746 } // namespace internal |
| 745 } // namespace v8 | 747 } // namespace v8 |
| 746 | 748 |
| 747 #endif // V8_INTERPRETER_BYTECODES_H_ | 749 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |