flow.c (create_edge_list): Use xmalloc, not malloc.
Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com> * flow.c (create_edge_list): Use xmalloc, not malloc. From-SVN: r28736
This commit is contained in:
parent
c78896f083
commit
57ad447995
@ -1,3 +1,7 @@
|
||||
Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
|
||||
|
||||
* flow.c (create_edge_list): Use xmalloc, not malloc.
|
||||
|
||||
Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
|
||||
|
||||
* fixinc/inclhack.def (no_double_slash): Do not trash single-line
|
||||
|
@ -5283,10 +5283,10 @@ create_edge_list ()
|
||||
for (e = ENTRY_BLOCK_PTR->succ; e; e = e->succ_next)
|
||||
num_edges++;
|
||||
|
||||
elist = malloc (sizeof (struct edge_list));
|
||||
elist = xmalloc (sizeof (struct edge_list));
|
||||
elist->num_blocks = block_count;
|
||||
elist->num_edges = num_edges;
|
||||
elist->index_to_edge = malloc (sizeof (edge) * num_edges);
|
||||
elist->index_to_edge = xmalloc (sizeof (edge) * num_edges);
|
||||
|
||||
num_edges = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user