Commit e4ed918f by Graham Stott Committed by Graham Stott

cfgloop.c (flow_loop_entry_edges_find): Fix typo.


       * cfgloop.c (flow_loop_entry_edges_find): Fix typo.
        (flow_loop_exit_edges_find): Likewise.

From-SVN: r48407
parent a176492c
2001-12-31 Graham Stott <grahams@redhat.com> 2001-12-31 Graham Stott <grahams@redhat.com>
* cfgloop.c (flow_loop_entry_edges_find): Fix typo.
(flow_loop_exit_edges_find): Likewise.
2001-12-31 Graham Stott <grahams@redhat.com>
* gcse.c (gcse_main): Fix typos. * gcse.c (gcse_main): Fix typos.
(alloc_gcse_mem): Likewise. (alloc_gcse_mem): Likewise.
......
...@@ -266,7 +266,7 @@ flow_loop_entry_edges_find (header, nodes, entry_edges) ...@@ -266,7 +266,7 @@ flow_loop_entry_edges_find (header, nodes, entry_edges)
if (! num_entries) if (! num_entries)
abort (); abort ();
*entry_edges = (edge *) xmalloc (num_entries * sizeof (edge *)); *entry_edges = (edge *) xmalloc (num_entries * sizeof (edge));
num_entries = 0; num_entries = 0;
for (e = header->pred; e; e = e->pred_next) for (e = header->pred; e; e = e->pred_next)
...@@ -313,7 +313,7 @@ flow_loop_exit_edges_find (nodes, exit_edges) ...@@ -313,7 +313,7 @@ flow_loop_exit_edges_find (nodes, exit_edges)
if (! num_exits) if (! num_exits)
return 0; return 0;
*exit_edges = (edge *) xmalloc (num_exits * sizeof (edge *)); *exit_edges = (edge *) xmalloc (num_exits * sizeof (edge));
/* Store all exiting edges into an array. */ /* Store all exiting edges into an array. */
num_exits = 0; num_exits = 0;
......
Markdown is supported
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