From: Michael Beck Date: Wed, 19 Oct 2005 09:55:46 +0000 (+0000) Subject: added default reassociation ops X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=31efd6f92bcff3c893da194001b8b75a1ab1e58a;p=libfirm added default reassociation ops [r6747] --- diff --git a/ir/ir/irop.c b/ir/ir/irop.c index fdf97a30f..6f4832e4f 100644 --- a/ir/ir/irop.c +++ b/ir/ir/irop.c @@ -24,6 +24,7 @@ # include "iropt_t.h" /* for firm_set_default_operations */ # include "irvrfy_t.h" +# include "reassoc_t.h" # include "xmalloc.h" @@ -178,6 +179,7 @@ new_ir_op(opcode code, const char *name, op_pin_state p, firm_set_default_operations(code, &res->ops); firm_set_default_copy_attr(code, &res->ops); firm_set_default_verifyer(code, &res->ops); + firm_set_default_reassoc(code, &res->ops); hook_new_ir_op(res); return res;