Commit fd13ae51 authored by Michael Beck's avatar Michael Beck
Browse files

replaced malloc by xmalloc

parent 3ca8e2bf
......@@ -121,7 +121,7 @@ int be_ifg_is_simplicial(const be_ifg_t *ifg, const ir_node *irn)
int degree = be_ifg_degree(ifg, irn);
void *iter = be_ifg_neighbours_iter_alloca(ifg);
ir_node **neighbours = malloc(degree * sizeof(neighbours[0]));
ir_node **neighbours = xmalloc(degree * sizeof(neighbours[0]));
ir_node *curr;
int i, j;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment