| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 V(StaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \ | 60 V(StaGlobalSloppy, OperandType::kIdx8, OperandType::kIdx8) \ |
| 61 V(StaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \ | 61 V(StaGlobalStrict, OperandType::kIdx8, OperandType::kIdx8) \ |
| 62 V(StaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \ | 62 V(StaGlobalSloppyWide, OperandType::kIdx16, OperandType::kIdx16) \ |
| 63 V(StaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \ | 63 V(StaGlobalStrictWide, OperandType::kIdx16, OperandType::kIdx16) \ |
| 64 \ | 64 \ |
| 65 /* Context operations */ \ | 65 /* Context operations */ \ |
| 66 V(PushContext, OperandType::kReg8) \ | 66 V(PushContext, OperandType::kReg8) \ |
| 67 V(PopContext, OperandType::kReg8) \ | 67 V(PopContext, OperandType::kReg8) \ |
| 68 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ | 68 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ |
| 69 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ | 69 V(StaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ |
| 70 V(LdaContextSlotWide, OperandType::kReg8, OperandType::kIdx16) \ |
| 71 V(StaContextSlotWide, OperandType::kReg8, OperandType::kIdx16) \ |
| 70 \ | 72 \ |
| 71 /* Load-Store lookup slots */ \ | 73 /* Load-Store lookup slots */ \ |
| 72 V(LdaLookupSlot, OperandType::kIdx8) \ | 74 V(LdaLookupSlot, OperandType::kIdx8) \ |
| 73 V(LdaLookupSlotInsideTypeof, OperandType::kIdx8) \ | 75 V(LdaLookupSlotInsideTypeof, OperandType::kIdx8) \ |
| 74 V(LdaLookupSlotWide, OperandType::kIdx16) \ | 76 V(LdaLookupSlotWide, OperandType::kIdx16) \ |
| 75 V(LdaLookupSlotInsideTypeofWide, OperandType::kIdx16) \ | 77 V(LdaLookupSlotInsideTypeofWide, OperandType::kIdx16) \ |
| 76 V(StaLookupSlotSloppy, OperandType::kIdx8) \ | 78 V(StaLookupSlotSloppy, OperandType::kIdx8) \ |
| 77 V(StaLookupSlotStrict, OperandType::kIdx8) \ | 79 V(StaLookupSlotStrict, OperandType::kIdx8) \ |
| 78 V(StaLookupSlotSloppyWide, OperandType::kIdx16) \ | 80 V(StaLookupSlotSloppyWide, OperandType::kIdx16) \ |
| 79 V(StaLookupSlotStrictWide, OperandType::kIdx16) \ | 81 V(StaLookupSlotStrictWide, OperandType::kIdx16) \ |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 | 410 |
| 409 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 411 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 410 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 412 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 411 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 413 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 412 | 414 |
| 413 } // namespace interpreter | 415 } // namespace interpreter |
| 414 } // namespace internal | 416 } // namespace internal |
| 415 } // namespace v8 | 417 } // namespace v8 |
| 416 | 418 |
| 417 #endif // V8_INTERPRETER_BYTECODES_H_ | 419 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |