profile.c (branch_prob): Call allocate_reg_info after outputting profile rtl in instrument_arcs.

* profile.c (branch_prob): Call allocate_reg_info after outputting
	profile rtl in instrument_arcs.

From-SVN: r21340
This commit is contained in:
David S. Miller 1998-07-22 16:14:27 +00:00 committed by David S. Miller
parent 1d3337fc41
commit 60f25009e3
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Jul 22 14:08:54 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
* profile.c (branch_prob): Call allocate_reg_info after outputting
profile rtl in instrument_arcs.
Wed Jul 22 12:47:49 1998 Jim Wilson <wilson@cygnus.com> Wed Jul 22 12:47:49 1998 Jim Wilson <wilson@cygnus.com>
* fixinc.irix (math.h): Install wrapper instead of copying. * fixinc.irix (math.h): Install wrapper instead of copying.

View File

@ -957,7 +957,10 @@ branch_prob (f, dump_file)
/* For each arc not on the spanning tree, add counting code as rtl. */ /* For each arc not on the spanning tree, add counting code as rtl. */
if (profile_arc_flag) if (profile_arc_flag)
instrument_arcs (f, num_blocks, dump_file); {
instrument_arcs (f, num_blocks, dump_file);
allocate_reg_info (max_reg_num (), FALSE, FALSE);
}
/* Execute the rest only if doing branch probabilities. */ /* Execute the rest only if doing branch probabilities. */
if (! flag_branch_probabilities) if (! flag_branch_probabilities)