X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal_t.h;h=90e4eff0886ea9f67f3b1e111a131b722aabc09c;hb=5d6cfd12693c34b702aab148038ebb562f2695f9;hp=2ddc3b336472e9eca2d10d469897e17e624fd25b;hpb=1ce363f80e6a204d4011f85813362d9bd1d0e7e4;p=libfirm diff --git a/ir/be/bechordal_t.h b/ir/be/bechordal_t.h index 2ddc3b336..90e4eff08 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); @@ -121,6 +121,6 @@ struct be_ra_chordal_opts_t { char ilp_solver[128]; }; -void be_pre_spill_prepare_constr(be_chordal_env_t *cenv); +void check_for_memory_operands(ir_graph *irg); #endif /* FIRM_BE_BECHORDAL_T_H */