diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-21 02:02:19 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-21 02:02:19 +0000 |
commit | bee2651c3985d89333d7ce4ef1bd45a2a3490f52 (patch) | |
tree | 67ffd521169b63b4965bfbcfde7bdbf8bc18684e /gcc/cse.c | |
parent | 04a40f24cab0917c13dcd0467a5ffdac29413cf7 (diff) | |
download | gcc-bee2651c3985d89333d7ce4ef1bd45a2a3490f52.tar.gz |
* gcse.c: Remove an obsolete comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95319 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/cse.c b/gcc/cse.c index e9f6c2f4724..e16113c68b8 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -864,10 +864,12 @@ init_cse_reg_info (unsigned int nregs) } /* Reallocate the table with NEW_SIZE entries. */ - cse_reg_info_table = xrealloc (cse_reg_info_table, - (sizeof (struct cse_reg_info) - * new_size)); + if (cse_reg_info_table) + free (cse_reg_info_table); + cse_reg_info_table = xmalloc (sizeof (struct cse_reg_info) + * 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? */ |