Complement r22830.
[libfirm] / ir / be / beifg_pointer.c
index a51735c..5dfc09f 100644 (file)
@@ -24,9 +24,7 @@
  * @date        18.11.2005
  * @version     $Id$
  */
-#ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
 
 #include <stdlib.h>
 
@@ -670,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;