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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
325 OperandType::kReg) \ | 325 OperandType::kReg) \ |
326 V(DebugBreak4, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg, \ | 326 V(DebugBreak4, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg, \ |
327 OperandType::kReg, OperandType::kReg) \ | 327 OperandType::kReg, OperandType::kReg) \ |
328 V(DebugBreak5, AccumulatorUse::kRead, OperandType::kRuntimeId, \ | 328 V(DebugBreak5, AccumulatorUse::kRead, OperandType::kRuntimeId, \ |
329 OperandType::kReg, OperandType::kReg) \ | 329 OperandType::kReg, OperandType::kReg) \ |
330 V(DebugBreak6, AccumulatorUse::kRead, OperandType::kRuntimeId, \ | 330 V(DebugBreak6, AccumulatorUse::kRead, OperandType::kRuntimeId, \ |
331 OperandType::kReg, OperandType::kReg, OperandType::kReg) \ | 331 OperandType::kReg, OperandType::kReg, OperandType::kReg) \ |
332 V(DebugBreakWide, AccumulatorUse::kRead) \ | 332 V(DebugBreakWide, AccumulatorUse::kRead) \ |
333 V(DebugBreakExtraWide, AccumulatorUse::kRead) \ | 333 V(DebugBreakExtraWide, AccumulatorUse::kRead) \ |
334 \ | 334 \ |
335 /* Block Coverage */ \ | |
336 V(IncBlockCounter, AccumulatorUse::kNone, OperandType::kImm) \ | |
rmcilroy
2017/05/18 14:17:59
use kIdx if these are unsigned (will give more ran
jgruber
2017/05/22 09:43:32
Done.
| |
337 \ | |
335 /* Illegal bytecode (terminates execution) */ \ | 338 /* Illegal bytecode (terminates execution) */ \ |
336 V(Illegal, AccumulatorUse::kNone) \ | 339 V(Illegal, AccumulatorUse::kNone) \ |
337 \ | 340 \ |
338 /* No operation (used to maintain source positions for peephole */ \ | 341 /* No operation (used to maintain source positions for peephole */ \ |
339 /* eliminated bytecodes). */ \ | 342 /* eliminated bytecodes). */ \ |
340 V(Nop, AccumulatorUse::kNone) | 343 V(Nop, AccumulatorUse::kNone) |
341 | 344 |
342 // List of debug break bytecodes. | 345 // List of debug break bytecodes. |
343 #define DEBUG_BREAK_PLAIN_BYTECODE_LIST(V) \ | 346 #define DEBUG_BREAK_PLAIN_BYTECODE_LIST(V) \ |
344 V(DebugBreak0) \ | 347 V(DebugBreak0) \ |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
887 }; | 890 }; |
888 | 891 |
889 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 892 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
890 const Bytecode& bytecode); | 893 const Bytecode& bytecode); |
891 | 894 |
892 } // namespace interpreter | 895 } // namespace interpreter |
893 } // namespace internal | 896 } // namespace internal |
894 } // namespace v8 | 897 } // namespace v8 |
895 | 898 |
896 #endif // V8_INTERPRETER_BYTECODES_H_ | 899 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |