X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop.c;h=450dd475d33d98d5e637c5c2f087c5a752063f57;hb=e98f2bd09ccc403c64e3ebe30f3b0183760bccc6;hp=d780ae9293e24a89f8da280c8641347b600aa3f6;hpb=d7337be4ef7938bf403e919f71844215a56e10b2;p=libfirm diff --git a/ir/ir/irop.c b/ir/ir/irop.c index d780ae929..450dd475d 100644 --- a/ir/ir/irop.c +++ b/ir/ir/irop.c @@ -33,7 +33,7 @@ #include "irbackedge_t.h" #include "iropt_t.h" -#include "irvrfy_t.h" +#include "irverify_t.h" #include "reassoc_t.h" #include "xmalloc.h" @@ -113,7 +113,7 @@ static void ASM_copy_attr(ir_graph *irg, const ir_node *old_node, default_copy_attr(irg, old_node, new_node); new_node->attr.assem.input_constraints = DUP_ARR_D(ir_asm_constraint, irg->obst, old_node->attr.assem.input_constraints); new_node->attr.assem.output_constraints = DUP_ARR_D(ir_asm_constraint, irg->obst, old_node->attr.assem.output_constraints); - new_node->attr.assem.clobbers = DUP_ARR_D(ir_asm_constraint, irg->obst, old_node->attr.assem.clobbers); + new_node->attr.assem.clobbers = DUP_ARR_D(ident*, irg->obst, old_node->attr.assem.clobbers); } /** @@ -125,7 +125,7 @@ static void ASM_copy_attr(ir_graph *irg, const ir_node *old_node, * @return * The operations. */ -static ir_op_ops *firm_set_default_copy_attr(ir_opcode code, ir_op_ops *ops) +static ir_op_ops *firm_set_default_copy_attr(unsigned code, ir_op_ops *ops) { switch (code) { case iro_Call: @@ -264,7 +264,7 @@ const ir_op_ops *(get_op_ops)(const ir_op *op) irop_flags get_op_flags(const ir_op *op) { - return op->flags; + return (irop_flags)op->flags; } #include "gen_irop.c.inl"