gensupport.h (pattern_stats): New structure.
authorRichard Sandiford <richard.sandiford@linaro.org>
Fri, 1 Apr 2011 08:15:08 +0000 (08:15 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 1 Apr 2011 08:15:08 +0000 (08:15 +0000)
commite792559ab3d6fdb933e91bb0a317554d5920d58a
treeb2cbc294126307fb76a53c640bd8728491e2e875
parent90630d1932caf1b04df0fb082c36717fa25d2bf3
gensupport.h (pattern_stats): New structure.

gcc/
* gensupport.h (pattern_stats): New structure.
* gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions.
* genemit.c (max_opno, max_dupno, max_scratch_opno): Delete.
(max_operand_1, max_operand_vec): Delete.
(gen_insn, gen_expand, gen_split): Use get_pattern_stats.

From-SVN: r171821
gcc/ChangeLog
gcc/genemit.c
gcc/gensupport.c
gcc/gensupport.h