genattrtab.c (write_function_unit_info): Add a dummy element when num_units == 0.
2002-05-02 Vladimir Makarov <vmakarov@redhat.com> * genattrtab.c (write_function_unit_info): Add a dummy element when num_units == 0. From-SVN: r53067
This commit is contained in:
parent
36ea41a31a
commit
842d5d6cbf
@ -1,3 +1,8 @@
|
||||
2002-05-02 Vladimir Makarov <vmakarov@redhat.com>
|
||||
|
||||
* genattrtab.c (write_function_unit_info): Add a dummy element
|
||||
when num_units == 0.
|
||||
|
||||
2002-05-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
|
||||
|
||||
* predict.c: (propagate_freq, estimate_bb_frequencies): Use
|
||||
|
@ -5692,6 +5692,8 @@ write_function_unit_info ()
|
||||
printf ("}, \n");
|
||||
}
|
||||
|
||||
if (num_units == 0)
|
||||
printf ("{\"dummy\", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} /* a dummy element */");
|
||||
printf ("};\n\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user