From 0e6860f9a36255f5d795160712424471e81aad43 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 24 Nov 2012 13:25:30 +0100 Subject: [PATCH] bechordal: Remove the pointless wrapper macro get_block_border_head(). --- ir/be/bechordal_t.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) /** -- 2.20.1