cleanup vrp
[libfirm] / ir / be / arm / arm_map_regs.c
index 708dd8e..5a2f1ea 100644 (file)
@@ -21,7 +21,6 @@
  * @file
  * @brief   Register mapping for firm nodes. Stolen from bearch_firm :)
  * @author  Oliver Richter, Tobias Gneist
- * @version $Id$
  */
 #include "config.h"
 
@@ -69,9 +68,9 @@ static arm_irn_reg_assoc *get_irn_reg_assoc(const ir_node *irn, set *reg_set)
 
        templ.irn = irn;
        templ.reg = NULL;
-       hash = HASH_PTR(irn);
+       hash = hash_ptr(irn);
 
-       return (arm_irn_reg_assoc*)set_insert(reg_set, &templ, sizeof(templ), hash);
+       return set_insert(arm_irn_reg_assoc, reg_set, &templ, sizeof(templ), hash);
 }
 
 void arm_set_firm_reg(ir_node *irn, const arch_register_t *reg, set *reg_set)