- cleanup and simplify inlining code
[libfirm] / include / libfirm / irnode.h
index 55a4fbe..ec26feb 100644 (file)
@@ -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