From: Michael Beck Date: Wed, 20 Jun 2007 12:44:00 +0000 (+0000) Subject: replaced malloc by xmalloc X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=8c0c0da8b9491b45b1cb20501faa42c1afb82889;p=libfirm replaced malloc by xmalloc [r14661] --- diff --git a/ir/be/bespilldaemel.c b/ir/be/bespilldaemel.c index b9459cab9..09dbee2c5 100644 --- a/ir/be/bespilldaemel.c +++ b/ir/be/bespilldaemel.c @@ -186,7 +186,7 @@ void do_spilling(daemel_env_t *env, ir_nodeset_t *live_nodes, ir_node *node) return; DBG((dbg, LEVEL_2, "\tspills needed after %+F: %d\n", node, spills_needed)); - candidates = malloc(node_count * sizeof(candidates[0])); + candidates = xmalloc(node_count * sizeof(candidates[0])); /* construct array with spill candidates and calculate their costs */ i = 0;