From: Christoph Mallon Date: Sat, 24 Nov 2012 12:25:30 +0000 (+0100) Subject: bechordal: Remove the pointless wrapper macro get_block_border_head(). X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=0e6860f9a36255f5d795160712424471e81aad43;p=libfirm bechordal: Remove the pointless wrapper macro get_block_border_head(). --- diff --git a/ir/be/bechordal_t.h b/ir/be/bechordal_t.h index eb51fc42b..6b8efc11a 100644 --- a/ir/be/bechordal_t.h +++ b/ir/be/bechordal_t.h @@ -67,12 +67,11 @@ struct be_chordal_env_t { 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) { +static inline struct list_head *get_block_border_head(be_chordal_env_t const *const inf, ir_node *const bl) +{ return pmap_get(list_head, inf->border_heads, bl); } -#define get_block_border_head(info, bl) _get_block_border_head(info, bl) - #define foreach_border_head(head, pos) list_for_each_entry_reverse(border_t, pos, head, list) /**