*/
#ifdef HAVE_CONFIG_H
-# include <config.h>
+# include "config.h"
#endif
#include <assert.h>
+#include "xmalloc.h"
#include "irnode_t.h"
#include "irgraph_t.h"
#include "irprog_t.h"
for (i = 0, k = get_Block_n_cfgpreds(b); i < k; ++i) {
max_preds += test_whether_dispensable(b, i);
}
- in = (ir_node **) malloc(max_preds * sizeof(ir_node *));
+ in = (ir_node **) xmalloc(max_preds * sizeof(ir_node *));
/*-
printf(" working on "); DDMN(b);
assert(get_irn_link(b) == NULL || (n_preds == p_preds && "Wrong Phi Fix"));
- free(in);
+ xfree(in);
}