| 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 27 matching lines...) Expand all Loading... |
| 38 V(LdaSmi8, OperandType::kImm8) \ | 38 V(LdaSmi8, OperandType::kImm8) \ |
| 39 V(LdaConstant, OperandType::kIdx8) \ | 39 V(LdaConstant, OperandType::kIdx8) \ |
| 40 V(LdaUndefined, OperandType::kNone) \ | 40 V(LdaUndefined, OperandType::kNone) \ |
| 41 V(LdaNull, OperandType::kNone) \ | 41 V(LdaNull, OperandType::kNone) \ |
| 42 V(LdaTheHole, OperandType::kNone) \ | 42 V(LdaTheHole, OperandType::kNone) \ |
| 43 V(LdaTrue, OperandType::kNone) \ | 43 V(LdaTrue, OperandType::kNone) \ |
| 44 V(LdaFalse, OperandType::kNone) \ | 44 V(LdaFalse, OperandType::kNone) \ |
| 45 \ | 45 \ |
| 46 /* Globals */ \ | 46 /* Globals */ \ |
| 47 V(LdaGlobal, OperandType::kIdx8) \ | 47 V(LdaGlobal, OperandType::kIdx8) \ |
| 48 V(StaGlobal, OperandType::kIdx8) \ | 48 V(StaGlobalSloppy, OperandType::kIdx8) \ |
| 49 V(StaGlobalStrict, OperandType::kIdx8) \ |
| 49 \ | 50 \ |
| 50 /* Context operations */ \ | 51 /* Context operations */ \ |
| 51 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ | 52 V(LdaContextSlot, OperandType::kReg8, OperandType::kIdx8) \ |
| 52 \ | 53 \ |
| 53 /* Register-accumulator transfers */ \ | 54 /* Register-accumulator transfers */ \ |
| 54 V(Ldar, OperandType::kReg8) \ | 55 V(Ldar, OperandType::kReg8) \ |
| 55 V(Star, OperandType::kReg8) \ | 56 V(Star, OperandType::kReg8) \ |
| 56 \ | 57 \ |
| 57 /* LoadIC operations */ \ | 58 /* LoadIC operations */ \ |
| 58 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8) \ | 59 V(LoadICSloppy, OperandType::kReg8, OperandType::kIdx8) \ |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 277 |
| 277 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 278 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 278 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 279 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 279 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 280 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 280 | 281 |
| 281 } // namespace interpreter | 282 } // namespace interpreter |
| 282 } // namespace internal | 283 } // namespace internal |
| 283 } // namespace v8 | 284 } // namespace v8 |
| 284 | 285 |
| 285 #endif // V8_INTERPRETER_BYTECODES_H_ | 286 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |