Commit f34ac626 by Richard Henderson Committed by Richard Henderson

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

From-SVN: r99175
parent a5c4dfe2
......@@ -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.
......
......@@ -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;
......
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