| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 V(StaNamedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ | 96 V(StaNamedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ |
| 97 OperandType::kIdx, OperandType::kIdx) \ | 97 OperandType::kIdx, OperandType::kIdx) \ |
| 98 V(StaNamedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ | 98 V(StaNamedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ |
| 99 OperandType::kIdx, OperandType::kIdx) \ | 99 OperandType::kIdx, OperandType::kIdx) \ |
| 100 V(StaKeyedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ | 100 V(StaKeyedPropertySloppy, AccumulatorUse::kRead, OperandType::kReg, \ |
| 101 OperandType::kReg, OperandType::kIdx) \ | 101 OperandType::kReg, OperandType::kIdx) \ |
| 102 V(StaKeyedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ | 102 V(StaKeyedPropertyStrict, AccumulatorUse::kRead, OperandType::kReg, \ |
| 103 OperandType::kReg, OperandType::kIdx) \ | 103 OperandType::kReg, OperandType::kIdx) \ |
| 104 V(StaDataPropertyInLiteral, AccumulatorUse::kRead, OperandType::kReg, \ | 104 V(StaDataPropertyInLiteral, AccumulatorUse::kRead, OperandType::kReg, \ |
| 105 OperandType::kReg, OperandType::kFlag8, OperandType::kIdx) \ | 105 OperandType::kReg, OperandType::kFlag8, OperandType::kIdx) \ |
| 106 V(CollectTypeProfile, AccumulatorUse::kNone, OperandType::kReg, \ |
| 107 OperandType::kReg, OperandType::kIdx) \ |
| 106 \ | 108 \ |
| 107 /* Binary Operators */ \ | 109 /* Binary Operators */ \ |
| 108 V(Add, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 110 V(Add, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 109 V(Sub, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 111 V(Sub, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 110 V(Mul, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 112 V(Mul, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 111 V(Div, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 113 V(Div, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 112 V(Mod, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ | 114 V(Mod, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kIdx) \ |
| 113 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 115 V(BitwiseOr, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| 114 OperandType::kIdx) \ | 116 OperandType::kIdx) \ |
| 115 V(BitwiseXor, AccumulatorUse::kReadWrite, OperandType::kReg, \ | 117 V(BitwiseXor, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
| (...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 }; | 825 }; |
| 824 | 826 |
| 825 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 827 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
| 826 const Bytecode& bytecode); | 828 const Bytecode& bytecode); |
| 827 | 829 |
| 828 } // namespace interpreter | 830 } // namespace interpreter |
| 829 } // namespace internal | 831 } // namespace internal |
| 830 } // namespace v8 | 832 } // namespace v8 |
| 831 | 833 |
| 832 #endif // V8_INTERPRETER_BYTECODES_H_ | 834 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |