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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 \ | 62 \ |
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 /* Load-Store lookup slots */ \ | 69 /* Load-Store lookup slots */ \ |
70 V(LdaLookupSlot, OperandType::kIdx8) \ | 70 V(LdaLookupSlot, OperandType::kIdx8) \ |
71 V(LdaLookupSlotInsideTypeof, OperandType::kIdx8) \ | 71 V(LdaLookupSlotInsideTypeof, OperandType::kIdx8) \ |
| 72 V(LdaLookupSlotWide, OperandType::kIdx16) \ |
| 73 V(LdaLookupSlotInsideTypeofWide, OperandType::kIdx16) \ |
72 V(StaLookupSlotSloppy, OperandType::kIdx8) \ | 74 V(StaLookupSlotSloppy, OperandType::kIdx8) \ |
73 V(StaLookupSlotStrict, OperandType::kIdx8) \ | 75 V(StaLookupSlotStrict, OperandType::kIdx8) \ |
| 76 V(StaLookupSlotSloppyWide, OperandType::kIdx16) \ |
| 77 V(StaLookupSlotStrictWide, OperandType::kIdx16) \ |
74 \ | 78 \ |
75 /* Register-accumulator transfers */ \ | 79 /* Register-accumulator transfers */ \ |
76 V(Ldar, OperandType::kReg8) \ | 80 V(Ldar, OperandType::kReg8) \ |
77 V(Star, OperandType::kReg8) \ | 81 V(Star, OperandType::kReg8) \ |
78 \ | 82 \ |
79 /* Register-register transfers */ \ | 83 /* Register-register transfers */ \ |
80 V(Mov, OperandType::kReg8, OperandType::kReg8) \ | 84 V(Mov, OperandType::kReg8, OperandType::kReg8) \ |
81 \ | 85 \ |
82 /* LoadIC operations */ \ | 86 /* LoadIC operations */ \ |
83 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ | 87 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8, OperandType::kIdx8) \ |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 | 390 |
387 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 391 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
388 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 392 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
389 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 393 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
390 | 394 |
391 } // namespace interpreter | 395 } // namespace interpreter |
392 } // namespace internal | 396 } // namespace internal |
393 } // namespace v8 | 397 } // namespace v8 |
394 | 398 |
395 #endif // V8_INTERPRETER_BYTECODES_H_ | 399 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |