| 480 | } |
| 481 | |
| 482 | void SetOpcode(Code opcode) { |
| 483 | DCHECK_LT(static_cast<uint16_t>(opcode), 256u); |
| 484 | uint16_t* insns = reinterpret_cast<uint16_t*>(this); |
| 485 | insns[0] = (insns[0] & 0xff00) | static_cast<uint16_t>(opcode); |
| 486 | } |
| 487 | |
| 488 | void SetVRegA_10x(uint8_t val) { |
| 489 | DCHECK(FormatOf(Opcode()) == k10x); |
nothing calls this directly
no outgoing calls
no test coverage detected