I was wondering if anybody could help: the best I've found for duplicating an instruction is INS(interp, unit, ins->op, "", ins->r, ins->n_r, ins->keys, 0); However, this doesn't seem to work with e.g. set_args. Is there some easy way to duplicate an instruction, or should I just give up when I see a pcc directive?
Also, with regards to in/out/inout of opcodes: pop is currently described as (out ?, in PMC) However, with say used_once optimizations, you want to know which registers are written to, and read from. I looked and thought that pop should be (out ?, inout PMC) because it changes the array/whatever. Amos Robinson