return ins__scnprintf(&dl->ins, bf, size, &dl->ops);
}
-static void disasm__add(struct list_head *head, struct disasm_line *line)
+static void annotation_line__add(struct annotation_line *al, struct list_head *head)
{
- list_add_tail(&line->al.node, head);
+ list_add_tail(&al->node, head);
}
struct annotation_line *
dl->ops.target.name = strdup(target.sym->name);
}
- disasm__add(¬es->src->source, dl);
+ annotation_line__add(&dl->al, ¬es->src->source);
return 0;
}