X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop.c;h=ac34f4b6e9243b187b76ff031c8d647a6bf7f200;hb=8399216d8aebc713bbda04b6e3e250a1d52b20bf;hp=2d114655e64c79767a0e6a14fa6f14270cb89412;hpb=265829494264529c53e5180a56cc9f1196346385;p=libfirm diff --git a/ir/ir/irop.c b/ir/ir/irop.c index 2d114655e..ac34f4b6e 100644 --- a/ir/ir/irop.c +++ b/ir/ir/irop.c @@ -88,6 +88,7 @@ ir_op *op_EndReg; ir_op *get_op_EndReg (void) { return op_EndReg; } ir_op *op_EndExcept; ir_op *get_op_EndExcept (void) { return op_EndExcept; } ir_op *op_NoMem; ir_op *get_op_NoMem (void) { return op_NoMem; } +ir_op *op_Mux; ir_op *get_op_Mux (void) { return op_Mux; } /* @@ -226,6 +227,7 @@ init_op(void) op_EndExcept = new_ir_op(iro_EndExcept, "EndExcept", op_pin_state_pinned, X|I, oparity_any, -1, sizeof(end_attr)); op_NoMem = new_ir_op(iro_NoMem, "NoMem", op_pin_state_pinned, 0, oparity_zero, -1, 0); + op_Mux = new_ir_op(iro_Mux, "Mux", op_pin_state_floats, 0, oparity_trinary, -1, 0); #undef Y #undef F @@ -297,6 +299,7 @@ void finish_op(void) { free_ir_op (op_EndExcept); op_EndExcept = NULL; free_ir_op (op_NoMem ); op_NoMem = NULL; + free_ir_op (op_Mux ); op_Mux = NULL; } /* Returns the string for the opcode. */ @@ -308,7 +311,7 @@ opcode (get_op_code)(const ir_op *op){ return __get_op_code(op); } -ident *(get_op_ident)(ir_op *op){ +ident *(get_op_ident)(const ir_op *op){ return __get_op_ident(op); }