fn gen_instruction_data_impl(
formats: &[Rc<InstructionFormat>],
fmt: &mut Formatter,
)Expand description
Generate the boring parts of the InstructionData implementation.
These methods in impl InstructionData can be generated automatically from the instruction
formats:
pub fn opcode(&self) -> Opcodepub fn arguments(&self, &pool) -> &[Value]pub fn arguments_mut(&mut self, &pool) -> &mut [Value]pub fn eq(&self, &other: Self, &pool) -> boolpub fn hash<H: Hasher>(&self, state: &mut H, &pool)