| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 \ | 192 \ |
| 193 /* New operator */ \ | 193 /* New operator */ \ |
| 194 V(New, OperandType::kReg8, OperandType::kMaybeReg8, OperandType::kRegCount8) \ | 194 V(New, OperandType::kReg8, OperandType::kMaybeReg8, OperandType::kRegCount8) \ |
| 195 V(NewWide, OperandType::kReg16, OperandType::kMaybeReg16, \ | 195 V(NewWide, OperandType::kReg16, OperandType::kMaybeReg16, \ |
| 196 OperandType::kRegCount16) \ | 196 OperandType::kRegCount16) \ |
| 197 \ | 197 \ |
| 198 /* Test Operators */ \ | 198 /* Test Operators */ \ |
| 199 V(TestEqual, OperandType::kReg8) \ | 199 V(TestEqual, OperandType::kReg8) \ |
| 200 V(TestNotEqual, OperandType::kReg8) \ | 200 V(TestNotEqual, OperandType::kReg8) \ |
| 201 V(TestEqualStrict, OperandType::kReg8) \ | 201 V(TestEqualStrict, OperandType::kReg8) \ |
| 202 V(TestNotEqualStrict, OperandType::kReg8) \ | |
| 203 V(TestLessThan, OperandType::kReg8) \ | 202 V(TestLessThan, OperandType::kReg8) \ |
| 204 V(TestGreaterThan, OperandType::kReg8) \ | 203 V(TestGreaterThan, OperandType::kReg8) \ |
| 205 V(TestLessThanOrEqual, OperandType::kReg8) \ | 204 V(TestLessThanOrEqual, OperandType::kReg8) \ |
| 206 V(TestGreaterThanOrEqual, OperandType::kReg8) \ | 205 V(TestGreaterThanOrEqual, OperandType::kReg8) \ |
| 207 V(TestInstanceOf, OperandType::kReg8) \ | 206 V(TestInstanceOf, OperandType::kReg8) \ |
| 208 V(TestIn, OperandType::kReg8) \ | 207 V(TestIn, OperandType::kReg8) \ |
| 209 \ | 208 \ |
| 210 /* Cast operators */ \ | 209 /* Cast operators */ \ |
| 211 V(ToName, OperandType::kNone) \ | 210 V(ToName, OperandType::kNone) \ |
| 212 V(ToNumber, OperandType::kNone) \ | 211 V(ToNumber, OperandType::kNone) \ |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 | 517 |
| 519 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 518 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 520 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 519 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 521 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 520 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 522 | 521 |
| 523 } // namespace interpreter | 522 } // namespace interpreter |
| 524 } // namespace internal | 523 } // namespace internal |
| 525 } // namespace v8 | 524 } // namespace v8 |
| 526 | 525 |
| 527 #endif // V8_INTERPRETER_BYTECODES_H_ | 526 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |