X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal_t.h;h=b70f694dffb7e93f7e55c09cfea502d2d8da858c;hb=330af274dc3552a170f6ea14605a3d6cfb977373;hp=d33c345e7079dcbf8fc106bd29d4ecbab647d076;hpb=71712d24f429b174d735ae063bcfcf529acc8489;p=libfirm diff --git a/ir/be/bechordal_t.h b/ir/be/bechordal_t.h index d33c345e7..b70f694df 100644 --- a/ir/be/bechordal_t.h +++ b/ir/be/bechordal_t.h @@ -72,7 +72,7 @@ struct be_chordal_env_t { bitset_t *ignore_colors;/**< A set of colors which shall be ignored in register allocation. */ }; -static INLINE struct list_head *_get_block_border_head(const be_chordal_env_t *inf, ir_node *bl) { +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); } @@ -83,7 +83,7 @@ static INLINE struct list_head *_get_block_border_head(const be_chordal_env_t *i #define border_prev(b) (list_entry((b)->list.prev, border_t, list)) #define chordal_has_class(chordal_env, irn) \ - arch_irn_consider_in_reg_alloc(&chordal_env->birg->main_env->arch_env, chordal_env->cls, irn) + arch_irn_consider_in_reg_alloc(chordal_env->cls, irn) void be_ra_chordal_color(be_chordal_env_t *chordal_env);