- replaced pset by pset_new in adjust call
[libfirm] / ir / be / bedomfront.c
index 79aad6e..fec39d8 100644 (file)
@@ -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);