X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbedomfront.c;h=fec39d830a48a4809fb0100d694885c15b15d43d;hb=184e8cad0c6e8b3cbe8ed9b28d372ad38a96df18;hp=79aad6e05a622c330934722bd5d745f710f2a225;hpb=ae111327189f2c3f84fe7eda8d79e9ede99fb3fe;p=libfirm diff --git a/ir/be/bedomfront.c b/ir/be/bedomfront.c index 79aad6e05..fec39d830 100644 --- a/ir/be/bedomfront.c +++ b/ir/be/bedomfront.c @@ -24,9 +24,7 @@ * @date 04.05.2005 * @version $Id$ */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include "obst.h" #include "pmap.h" @@ -55,7 +53,7 @@ struct _be_dom_front_info_t { * @param bl The block. * @return The immediate dominator of the block. */ -static INLINE +static inline ir_node *get_idom(ir_node *bl) { ir_node *idom = get_Block_idom(bl); @@ -115,7 +113,7 @@ ir_node **compute_df(ir_node *blk, be_dom_front_info_t *info) be_dom_front_info_t *be_compute_dominance_frontiers(ir_graph *irg) { - be_dom_front_info_t *info = xmalloc(sizeof(*info)); + be_dom_front_info_t *info = XMALLOC(be_dom_front_info_t); edges_assure(irg); obstack_init(&info->obst);