- remove debug module handles from environments
[libfirm] / ir / be / beifg_pointer.c
index 3d8dc01..5dfc09f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -24,9 +24,7 @@
  * @date        18.11.2005
  * @version     $Id$
  */
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <stdlib.h>
 
@@ -614,8 +612,6 @@ static void ifg_pointer_neighbours_break(const void *self, void *iter)
        (void) self;
 
        bitset_free(it->visited_neighbours);
-
-       return;
 }
 
 static ir_node *ifg_pointer_nodes_begin(const void *self, void *iter)
@@ -672,7 +668,7 @@ static const be_ifg_impl_t ifg_pointer_impl = {
 
 be_ifg_t *be_ifg_pointer_new(const be_chordal_env_t *env)
 {
-       ifg_pointer_t *ifg      = xmalloc(sizeof(*ifg));
+       ifg_pointer_t *ifg = XMALLOC(ifg_pointer_t);
        ifg->impl               = &ifg_pointer_impl;
        ifg->env                        = env;