| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 V(BitwiseXor, OperandType::kReg8) \ | 78 V(BitwiseXor, OperandType::kReg8) \ |
| 79 V(BitwiseAnd, OperandType::kReg8) \ | 79 V(BitwiseAnd, OperandType::kReg8) \ |
| 80 V(ShiftLeft, OperandType::kReg8) \ | 80 V(ShiftLeft, OperandType::kReg8) \ |
| 81 V(ShiftRight, OperandType::kReg8) \ | 81 V(ShiftRight, OperandType::kReg8) \ |
| 82 V(ShiftRightLogical, OperandType::kReg8) \ | 82 V(ShiftRightLogical, OperandType::kReg8) \ |
| 83 \ | 83 \ |
| 84 /* Unary Operators */ \ | 84 /* Unary Operators */ \ |
| 85 V(LogicalNot, OperandType::kNone) \ | 85 V(LogicalNot, OperandType::kNone) \ |
| 86 V(TypeOf, OperandType::kNone) \ | 86 V(TypeOf, OperandType::kNone) \ |
| 87 \ | 87 \ |
| 88 /* Call operations. */ \ | 88 /* Call operations */ \ |
| 89 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ | 89 V(Call, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ |
| 90 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \ | 90 V(CallRuntime, OperandType::kIdx16, OperandType::kReg8, \ |
| 91 OperandType::kCount8) \ | 91 OperandType::kCount8) \ |
| 92 \ | 92 \ |
| 93 /* New operator */ \ |
| 94 V(New, OperandType::kReg8, OperandType::kReg8, OperandType::kCount8) \ |
| 95 \ |
| 93 /* Test Operators */ \ | 96 /* Test Operators */ \ |
| 94 V(TestEqual, OperandType::kReg8) \ | 97 V(TestEqual, OperandType::kReg8) \ |
| 95 V(TestNotEqual, OperandType::kReg8) \ | 98 V(TestNotEqual, OperandType::kReg8) \ |
| 96 V(TestEqualStrict, OperandType::kReg8) \ | 99 V(TestEqualStrict, OperandType::kReg8) \ |
| 97 V(TestNotEqualStrict, OperandType::kReg8) \ | 100 V(TestNotEqualStrict, OperandType::kReg8) \ |
| 98 V(TestLessThan, OperandType::kReg8) \ | 101 V(TestLessThan, OperandType::kReg8) \ |
| 99 V(TestGreaterThan, OperandType::kReg8) \ | 102 V(TestGreaterThan, OperandType::kReg8) \ |
| 100 V(TestLessThanOrEqual, OperandType::kReg8) \ | 103 V(TestLessThanOrEqual, OperandType::kReg8) \ |
| 101 V(TestGreaterThanOrEqual, OperandType::kReg8) \ | 104 V(TestGreaterThanOrEqual, OperandType::kReg8) \ |
| 102 V(TestInstanceOf, OperandType::kReg8) \ | 105 V(TestInstanceOf, OperandType::kReg8) \ |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 256 |
| 254 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 257 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 255 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 258 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 256 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 259 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
| 257 | 260 |
| 258 } // namespace interpreter | 261 } // namespace interpreter |
| 259 } // namespace internal | 262 } // namespace internal |
| 260 } // namespace v8 | 263 } // namespace v8 |
| 261 | 264 |
| 262 #endif // V8_INTERPRETER_BYTECODES_H_ | 265 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |