* cfg.c (dump_flow_info): Use max_reg_num, not max_regno.

From-SVN: r99175
This commit is contained in:
Richard Henderson 2005-05-03 12:05:59 -07:00 committed by Richard Henderson
parent a5c4dfe2b3
commit f34ac6269a
2 changed files with 5 additions and 3 deletions

View File

@ -2,6 +2,8 @@
* config/rs6000/rs6000.c: Remove conflict markers.
* cfg.c (dump_flow_info): Use max_reg_num, not max_regno.
2005-05-03 James E Wilson <wilson@specifixinc.com>
* dwarf2out.c (lookup_filename): Call maybe_emit_file.

View File

@ -471,14 +471,14 @@ check_bb_profile (basic_block bb, FILE * file)
void
dump_flow_info (FILE *file)
{
int i;
basic_block bb;
/* There are no pseudo registers after reload. Don't dump them. */
if (reg_n_info && !reload_completed)
{
fprintf (file, "%d registers.\n", max_regno);
for (i = FIRST_PSEUDO_REGISTER; i < max_regno; i++)
unsigned int i, max = max_reg_num ();
fprintf (file, "%d registers.\n", max);
for (i = FIRST_PSEUDO_REGISTER; i < max; i++)
if (REG_N_REFS (i))
{
enum reg_class class, altclass;