Constructor assigns the OpCode and the Offset.
| 53 | public: |
| 54 | /// Constructor assigns the OpCode and the Offset. |
| 55 | Instruction(OpCode Byte, uint32_t Off = 0) noexcept |
| 56 | : Offset(Off), Code(Byte) { |
| 57 | #if defined(__x86_64__) || defined(__aarch64__) || \ |
| 58 | (defined(__riscv) && __riscv_xlen == 64) || defined(__s390x__) |
| 59 | Data.Num = static_cast<uint128_t>(0); |
| 60 | #else |
| 61 | Data.Num.Low = static_cast<uint64_t>(0); |
| 62 | Data.Num.High = static_cast<uint64_t>(0); |
| 63 | #endif |
| 64 | Flags.IsAllocLabelList = false; |
| 65 | Flags.IsAllocValTypeList = false; |
| 66 | Flags.IsAllocBrCast = false; |
| 67 | Flags.IsAllocTryCatch = false; |
| 68 | } |
| 69 | |
| 70 | /// Copy constructor. |
| 71 | Instruction(const Instruction &Instr) noexcept |
nothing calls this directly
no outgoing calls
no test coverage detected