added default reassociation ops
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 19 Oct 2005 09:55:46 +0000 (09:55 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 19 Oct 2005 09:55:46 +0000 (09:55 +0000)
[r6747]

ir/ir/irop.c

index fdf97a3..6f4832e 100644 (file)
@@ -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;