Let the length of tarval be of type size_t.
[libfirm] / ir / be / bechordal_t.h
index e4ff678..a7dcb36 100644 (file)
@@ -68,11 +68,11 @@ struct be_chordal_env_t {
        const arch_register_class_t *cls;   /**< The current register class. */
        pmap                 *border_heads; /**< Maps blocks to border heads. */
        be_ifg_t             *ifg;          /**< The interference graph. */
-       bitset_t             *ignore_colors;/**< A set of colors which shall be ignored in register allocation. */
+       bitset_t             *allocatable_regs; /**< set of allocatable registers */
 };
 
 static inline struct list_head *_get_block_border_head(const be_chordal_env_t *inf, ir_node *bl) {
-  return pmap_get(inf->border_heads, bl);
+  return (list_head*)pmap_get(inf->border_heads, bl);
 }
 
 #define get_block_border_head(info, bl)     _get_block_border_head(info, bl)