# include "iropt_t.h" /* for firm_set_default_operations */
# include "irvrfy_t.h"
+# include "reassoc_t.h"
# include "xmalloc.h"
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;
void (set_generic_function_ptr)(ir_op *op, op_func func) {
_set_generic_function_ptr(op, func);
}
+
+/* Returns the ir_op_ops of an ir_op. */
+const ir_op_ops *(get_op_ops)(const ir_op *op) {
+ return _get_op_ops(op);
+}