X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop.c;h=31adf0cd5dadaf664af66b27620bf41befc3552e;hb=357886575cb0becb5bd9be376fde49b57edd5385;hp=7a59fa1b480544594f24027b126465c8cb0bf19a;hpb=438580abed840c55e82a03b47daeacfe2da8040f;p=libfirm diff --git a/ir/ir/irop.c b/ir/ir/irop.c index 7a59fa1b4..31adf0cd5 100644 --- a/ir/ir/irop.c +++ b/ir/ir/irop.c @@ -189,6 +189,14 @@ void free_ir_op(ir_op *code) free(code); } /* free_ir_op */ +void ir_op_set_fragile_indices(ir_op *op, int fragile_mem_index, + int pn_x_regular, int pn_x_except) +{ + op->fragile_mem_index = fragile_mem_index; + op->pn_x_regular = pn_x_regular; + op->pn_x_except = pn_x_except; +} + /* Returns the string for the opcode. */ const char *get_op_name (const ir_op *op) {