| 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 <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 // Clients of this interface shouldn't depend on lots of interpreter internals. | 10 // Clients of this interface shouldn't depend on lots of interpreter internals. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 /* Context operations */ \ | 63 /* Context operations */ \ |
| 64 V(PushContext, OperandType::kReg8) \ | 64 V(PushContext, OperandType::kReg8) \ |
| 65 V(PopContext, OperandType::kReg8) \ | 65 V(PopContext, OperandType::kReg8) \ |
| 66 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ | 66 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ |
| 67 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ | 67 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ |
| 68 \ | 68 \ |
| 69 /* Register-accumulator transfers */ \ | 69 /* Register-accumulator transfers */ \ |
| 70 V(Ldar, OperandType::kReg8) \ | 70 V(Ldar, OperandType::kReg8) \ |
| 71 V(Star, OperandType::kReg8) \ | 71 V(Star, OperandType::kReg8) \ |
| 72 \ | 72 \ |
| 73 /* Register-register transfers */ \ |
| 74 V(Mov, OperandType::kReg8, OperandType::kReg8) \ |
| 75 \ |
| 73 /* LoadIC operations */ \ | 76 /* LoadIC operations */ \ |
| 74 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ | 77 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ |
| 75 V(LoadICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ | 78 V(LoadICStrict, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ |
| 76 V(KeyedLoadICSloppy, OperandType::kReg8, OperandType::kIdx8) \ | 79 V(KeyedLoadICSloppy, OperandType::kReg8, OperandType::kIdx8) \ |
| 77 V(KeyedLoadICStrict, OperandType::kReg8, OperandType::kIdx8) \ | 80 V(KeyedLoadICStrict, OperandType::kReg8, OperandType::kIdx8) \ |
| 78 /* TODO(rmcilroy): Wide register operands too? */ \ | 81 /* TODO(rmcilroy): Wide register operands too? */ \ |
| 79 V(LoadICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \ | 82 V(LoadICSloppyWide, OperandType::kReg8, OperandType::kIdx16, \ |
| 80 OperandType::kIdx16) \ | 83 OperandType::kIdx16) \ |
| 81 V(LoadICStrictWide, OperandType::kReg8, OperandType::kIdx16, \ | 84 V(LoadICStrictWide, OperandType::kReg8, OperandType::kIdx16, \ |
| 82 OperandType::kIdx16) \ | 85 OperandType::kIdx16) \ |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 | 345 |
| 343 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 346 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 344 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 347 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 345 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 348 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 346 | 349 |
| 347 } // namespace interpreter | 350 } // namespace interpreter |
| 348 } // namespace internal | 351 } // namespace internal |
| 349 } // namespace v8 | 352 } // namespace v8 |
| 350 | 353 |
| 351 #endif // V8_INTERPRETER_BYTECODES_H_ | 354 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |