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 <cstdint> | 8 #include <cstdint> |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <string> | 10 #include <string> |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 OperandType::kReg) \ | 331 OperandType::kReg) \ |
332 V(DebugBreak4, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg, \ | 332 V(DebugBreak4, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg, \ |
333 OperandType::kReg, OperandType::kReg) \ | 333 OperandType::kReg, OperandType::kReg) \ |
334 V(DebugBreak5, AccumulatorUse::kRead, OperandType::kRuntimeId, \ | 334 V(DebugBreak5, AccumulatorUse::kRead, OperandType::kRuntimeId, \ |
335 OperandType::kReg, OperandType::kReg) \ | 335 OperandType::kReg, OperandType::kReg) \ |
336 V(DebugBreak6, AccumulatorUse::kRead, OperandType::kRuntimeId, \ | 336 V(DebugBreak6, AccumulatorUse::kRead, OperandType::kRuntimeId, \ |
337 OperandType::kReg, OperandType::kReg, OperandType::kReg) \ | 337 OperandType::kReg, OperandType::kReg, OperandType::kReg) \ |
338 V(DebugBreakWide, AccumulatorUse::kRead) \ | 338 V(DebugBreakWide, AccumulatorUse::kRead) \ |
339 V(DebugBreakExtraWide, AccumulatorUse::kRead) \ | 339 V(DebugBreakExtraWide, AccumulatorUse::kRead) \ |
340 \ | 340 \ |
| 341 /* Block Coverage */ \ |
| 342 V(IncBlockCounter, AccumulatorUse::kNone, OperandType::kIdx) \ |
| 343 \ |
341 /* Illegal bytecode (terminates execution) */ \ | 344 /* Illegal bytecode (terminates execution) */ \ |
342 V(Illegal, AccumulatorUse::kNone) \ | 345 V(Illegal, AccumulatorUse::kNone) \ |
343 \ | 346 \ |
344 /* No operation (used to maintain source positions for peephole */ \ | 347 /* No operation (used to maintain source positions for peephole */ \ |
345 /* eliminated bytecodes). */ \ | 348 /* eliminated bytecodes). */ \ |
346 V(Nop, AccumulatorUse::kNone) | 349 V(Nop, AccumulatorUse::kNone) |
347 | 350 |
348 // List of debug break bytecodes. | 351 // List of debug break bytecodes. |
349 #define DEBUG_BREAK_PLAIN_BYTECODE_LIST(V) \ | 352 #define DEBUG_BREAK_PLAIN_BYTECODE_LIST(V) \ |
350 V(DebugBreak0) \ | 353 V(DebugBreak0) \ |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 }; | 891 }; |
889 | 892 |
890 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 893 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
891 const Bytecode& bytecode); | 894 const Bytecode& bytecode); |
892 | 895 |
893 } // namespace interpreter | 896 } // namespace interpreter |
894 } // namespace internal | 897 } // namespace internal |
895 } // namespace v8 | 898 } // namespace v8 |
896 | 899 |
897 #endif // V8_INTERPRETER_BYTECODES_H_ | 900 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |