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);
/**
* 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