+2015-08-29 Anatoly Sokolov <aesok@post.ru>
+
+ * ira.c (print_unform_and_important_classes,
+ print_translated_classes): Remove reg_class_names static array.
+ (print_unform_and_important_classes): Rename to ...
+ (print_uniform_and_important_classes): ... this.
+ (ira_debug_allocno_classes): Update accordingly.
+
2015-08-29 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/46193
/* Output all uniform and important classes into file F. */
static void
-print_unform_and_important_classes (FILE *f)
+print_uniform_and_important_classes (FILE *f)
{
- static const char *const reg_class_names[] = REG_CLASS_NAMES;
int i, cl;
fprintf (f, "Uniform classes:\n");
enum reg_class *class_translate = (pressure_p
? ira_pressure_class_translate
: ira_allocno_class_translate);
- static const char *const reg_class_names[] = REG_CLASS_NAMES;
int i;
fprintf (f, "%s classes:\n", pressure_p ? "Pressure" : "Allocno");
void
ira_debug_allocno_classes (void)
{
- print_unform_and_important_classes (stderr);
+ print_uniform_and_important_classes (stderr);
print_translated_classes (stderr, false);
print_translated_classes (stderr, true);
}