Commit a811c672 by Kazu Hirata Committed by Kazu Hirata

* gcse.c: Remove an obsolete comment.

From-SVN: r95319
parent a3c28ba2
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
* gcse.c: Remove an obsolete comment. * gcse.c: Remove an obsolete comment.
* cse.c (init_cse_reg_info): Use xmalloc instead of xrealloc.
2005-02-20 Hans-Peter Nilsson <hp@axis.com> 2005-02-20 Hans-Peter Nilsson <hp@axis.com>
* doc/extend.texi (Function Attributes) <Attribute const>: The * doc/extend.texi (Function Attributes) <Attribute const>: The
......
...@@ -864,10 +864,12 @@ init_cse_reg_info (unsigned int nregs) ...@@ -864,10 +864,12 @@ init_cse_reg_info (unsigned int nregs)
} }
/* Reallocate the table with NEW_SIZE entries. */ /* Reallocate the table with NEW_SIZE entries. */
cse_reg_info_table = xrealloc (cse_reg_info_table, if (cse_reg_info_table)
(sizeof (struct cse_reg_info) free (cse_reg_info_table);
* new_size)); cse_reg_info_table = xmalloc (sizeof (struct cse_reg_info)
* new_size);
cse_reg_info_table_size = new_size; cse_reg_info_table_size = new_size;
cse_reg_info_table_first_uninitialized = 0;
} }
/* Do we have all of the first NREGS entries initialized? */ /* Do we have all of the first NREGS entries initialized? */
......
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