X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firnode.h;h=ec26feb53a42cd1bf3cdc90a35ef0c1bfea08d1d;hb=2807bb5b1ed34c23dc30d228ab0686c6fc9d6ae3;hp=55a4fbe601572ba2b003a17edaa8a94d2f3d0030;hpb=ef63002fcb03a29f1b4e041c067d0fa8546bed96;p=libfirm diff --git a/include/libfirm/irnode.h b/include/libfirm/irnode.h index 55a4fbe60..ec26feb53 100644 --- a/include/libfirm/irnode.h +++ b/include/libfirm/irnode.h @@ -969,8 +969,8 @@ typedef enum { ir_node *get_Alloc_mem(const ir_node *node); void set_Alloc_mem(ir_node *node, ir_node *mem); -ir_node *get_Alloc_size(const ir_node *node); -void set_Alloc_size(ir_node *node, ir_node *size); +ir_node *get_Alloc_count(const ir_node *node); +void set_Alloc_count(ir_node *node, ir_node *count); ir_type *get_Alloc_type(ir_node *node); void set_Alloc_type(ir_node *node, ir_type *tp); @@ -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