X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firarch.c;h=27a66febc87c80829753562ffb7978713e72af4d;hb=fed1bdc07c9ec7b4d07a9243ad093c9fdd239fbd;hp=ce22ceb1974ded365e21472e9cc8c7e628508e1f;hpb=59c705e103662c7ea2002c3b4674bcdbf01ca0a8;p=libfirm diff --git a/ir/ir/irarch.c b/ir/ir/irarch.c index ce22ceb19..27a66febc 100644 --- a/ir/ir/irarch.c +++ b/ir/ir/irarch.c @@ -6,7 +6,14 @@ * * $Id$ */ -#include +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#ifdef HAVE_STDLIB_H +# include +#endif + #include #include "irnode_t.h" @@ -84,7 +91,7 @@ void arch_dep_init(arch_dep_params_factory_t factory) rflct_signature_set_arg(sig, 1, 1, "Op 0", RFLCT_MC(Int), 0, 0); rflct_signature_set_arg(sig, 1, 2, "Op 1", RFLCT_MC(Int), 0, 0); - rflct_new_opcode(mulh_opc, "Mulh", false); + rflct_new_opcode(mulh_opc, "Mulh", 0); rflct_opcode_add_signature(mulh_opc, sig); } } @@ -709,7 +716,7 @@ ir_node *arch_dep_replace_div_by_const(ir_node *irn) } if (res != irn) - hook_arch_dep_replace_div_by_const(irn); + hook_arch_dep_replace_division_by_const(irn); return res; } @@ -800,7 +807,7 @@ ir_node *arch_dep_replace_mod_by_const(ir_node *irn) } if (res != irn) - hook_arch_dep_replace_mod_by_const(irn); + hook_arch_dep_replace_division_by_const(irn); return res; } @@ -907,7 +914,7 @@ void arch_dep_replace_divmod_by_const(ir_node **div, ir_node **mod, ir_node *irn } if (*div) - hook_arch_dep_replace_DivMod_by_const(irn); + hook_arch_dep_replace_division_by_const(irn); }