X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firnode.h;h=ec26feb53a42cd1bf3cdc90a35ef0c1bfea08d1d;hb=2807bb5b1ed34c23dc30d228ab0686c6fc9d6ae3;hp=05e85cebd9e0274a98d69cfd70b281335f620d53;hpb=e6fe124472509e07fa3f2b60fe3cc0b87f94dc27;p=libfirm diff --git a/include/libfirm/irnode.h b/include/libfirm/irnode.h index 05e85cebd..ec26feb53 100644 --- a/include/libfirm/irnode.h +++ b/include/libfirm/irnode.h @@ -1304,8 +1304,9 @@ int is_irn_forking(const ir_node *node); /** * Copies all attributes stored in the old node to the new node. * Assumes both have the same opcode and sufficient size. + * @param irg The irg of the new_node (get_irn_irg on it might not work yet) */ -void copy_node_attr(const ir_node *old_node, ir_node *new_node); +void copy_node_attr(ir_graph *irg, const ir_node *old_node, ir_node *new_node); /** Return the type associated with the value produced by n * if the node remarks this type as it is the case for