Reimplement the "fp result returned in st0 code":
[libfirm] / ir / ana / cdep.c
index 41e6e13..d66dfb5 100644 (file)
@@ -20,6 +20,7 @@
 /**
  * @file
  * @brief   Implementation of cdep
+ * @author  Christoph Mallon
  * @version $Id$
  */
 #include <assert.h>
@@ -155,7 +156,7 @@ void compute_cdep(ir_graph *irg) {
        cdep_env env;
 
        free_cdep(irg);
-       cdep_data = xmalloc(sizeof(*cdep_data));
+       cdep_data = XMALLOC(cdep_info);
        obstack_init(&cdep_data->obst);
 
        cdep_data->cdep_map = pmap_create();