X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop_t.h;h=668f520f938030f5a8bd668904d3608baccc7bfd;hb=ea68f3f7a13e0b7742bfaa643e109302bc023e9c;hp=6e69b0f1d93dc518dbaee2a63fb7871eb355e31a;hpb=8c9aa24a1f17891325986165a58434cf75f96f6d;p=libfirm diff --git a/ir/ir/irop_t.h b/ir/ir/irop_t.h index 6e69b0f1d..668f520f9 100644 --- a/ir/ir/irop_t.h +++ b/ir/ir/irop_t.h @@ -43,16 +43,6 @@ void firm_init_op(void); /** frees memory allocated by irop module */ void firm_finish_op(void); -/** - * Copies simply all attributes stored in the old node to the new node. - * Assumes both have the same opcode and sufficient size. - * - * @param old_node the old node from which the attributes are read - * @param new_node the new node to which the attributes are written - */ -void default_copy_attr(ir_graph *irg, const ir_node *old_node, - ir_node *new_node); - /** * Returns the attribute size of nodes of this opcode. * @note Use not encouraged, internal feature. @@ -154,7 +144,7 @@ static inline op_func get_generic_function_ptr_(const ir_op *op) return op->ops.generic; } -static inline const ir_op_ops *get_op_ops_(const ir_op *op) +static inline ir_op_ops *get_op_ops_(ir_op *op) { return &op->ops; }