| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 V(TestEqualStrict, OperandType::kReg8) \ | 143 V(TestEqualStrict, OperandType::kReg8) \ |
| 144 V(TestNotEqualStrict, OperandType::kReg8) \ | 144 V(TestNotEqualStrict, OperandType::kReg8) \ |
| 145 V(TestLessThan, OperandType::kReg8) \ | 145 V(TestLessThan, OperandType::kReg8) \ |
| 146 V(TestGreaterThan, OperandType::kReg8) \ | 146 V(TestGreaterThan, OperandType::kReg8) \ |
| 147 V(TestLessThanOrEqual, OperandType::kReg8) \ | 147 V(TestLessThanOrEqual, OperandType::kReg8) \ |
| 148 V(TestGreaterThanOrEqual, OperandType::kReg8) \ | 148 V(TestGreaterThanOrEqual, OperandType::kReg8) \ |
| 149 V(TestInstanceOf, OperandType::kReg8) \ | 149 V(TestInstanceOf, OperandType::kReg8) \ |
| 150 V(TestIn, OperandType::kReg8) \ | 150 V(TestIn, OperandType::kReg8) \ |
| 151 \ | 151 \ |
| 152 /* Cast operators */ \ | 152 /* Cast operators */ \ |
| 153 V(ToBoolean, OperandType::kNone) \ | |
| 154 V(ToName, OperandType::kNone) \ | 153 V(ToName, OperandType::kNone) \ |
| 155 V(ToNumber, OperandType::kNone) \ | 154 V(ToNumber, OperandType::kNone) \ |
| 156 V(ToObject, OperandType::kNone) \ | 155 V(ToObject, OperandType::kNone) \ |
| 157 \ | 156 \ |
| 158 /* Literals */ \ | 157 /* Literals */ \ |
| 159 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kImm8) \ | 158 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kImm8) \ |
| 160 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ | 159 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ |
| 161 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ | 160 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ |
| 162 \ | 161 \ |
| 163 /* Closure allocation */ \ | 162 /* Closure allocation */ \ |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 | 349 |
| 351 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 350 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 352 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 351 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 353 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 352 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 354 | 353 |
| 355 } // namespace interpreter | 354 } // namespace interpreter |
| 356 } // namespace internal | 355 } // namespace internal |
| 357 } // namespace v8 | 356 } // namespace v8 |
| 358 | 357 |
| 359 #endif // V8_INTERPRETER_BYTECODES_H_ | 358 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |