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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) \ | 153 V(ToBoolean, OperandType::kNone) \ |
154 V(ToName, OperandType::kNone) \ | 154 V(ToName, OperandType::kNone) \ |
155 V(ToNumber, OperandType::kNone) \ | 155 V(ToNumber, OperandType::kNone) \ |
156 V(ToObject, OperandType::kNone) \ | 156 V(ToObject, OperandType::kNone) \ |
157 \ | 157 \ |
158 /* Literals */ \ | 158 /* Literals */ \ |
159 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kReg8) \ | 159 V(CreateRegExpLiteral, OperandType::kIdx8, OperandType::kImm8) \ |
160 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ | 160 V(CreateArrayLiteral, OperandType::kIdx8, OperandType::kImm8) \ |
161 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ | 161 V(CreateObjectLiteral, OperandType::kIdx8, OperandType::kImm8) \ |
162 \ | 162 \ |
163 /* Closure allocation */ \ | 163 /* Closure allocation */ \ |
164 V(CreateClosure, OperandType::kImm8) \ | 164 V(CreateClosure, OperandType::kImm8) \ |
165 \ | 165 \ |
166 /* Arguments allocation */ \ | 166 /* Arguments allocation */ \ |
167 V(CreateMappedArguments, OperandType::kNone) \ | 167 V(CreateMappedArguments, OperandType::kNone) \ |
168 V(CreateUnmappedArguments, OperandType::kNone) \ | 168 V(CreateUnmappedArguments, OperandType::kNone) \ |
169 \ | 169 \ |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 | 345 |
346 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 346 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
347 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 347 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
348 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); | 348 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); |
349 | 349 |
350 } // namespace interpreter | 350 } // namespace interpreter |
351 } // namespace internal | 351 } // namespace internal |
352 } // namespace v8 | 352 } // namespace v8 |
353 | 353 |
354 #endif // V8_INTERPRETER_BYTECODES_H_ | 354 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |