Returns the opcode field of the instruction. The given "inst_data" parameter must be the first 16 bits of instruction.
| 470 | // Returns the opcode field of the instruction. The given "inst_data" parameter must be the first |
| 471 | // 16 bits of instruction. |
| 472 | Code Opcode(uint16_t inst_data) const { |
| 473 | DCHECK_EQ(inst_data, Fetch16(0)); |
| 474 | return static_cast<Code>(inst_data & 0xFF); |
| 475 | } |
| 476 | |
| 477 | // Returns the opcode field of the instruction from the first 16 bits of instruction. |
| 478 | Code Opcode() const { |
no outgoing calls
no test coverage detected