static void stat_register_dumper(const dumper_t *dumper)
{
dumper_t *p = XMALLOC(dumper_t);
-
- memcpy(p, dumper, sizeof(*p));
+ *p = *dumper;
p->next = status->dumper;
p->status = status;
/*
* Helper: get an ir_op from an opcode.
*/
-ir_op *stat_get_op_from_opcode(ir_opcode code)
+ir_op *stat_get_op_from_opcode(unsigned code)
{
return opcode_find_entry(code, status->ir_op_hash);
} /* stat_get_op_from_opcode */