Commit e48dc99e by Martin Liska Committed by Martin Liska

Use capital letters for enum value names.

2019-05-20  Martin Liska  <mliska@suse.cz>

	* profile-count.h (enum profile_quality): Use capital letters
	for enum value names.  Use the adjusted names.
	* profile-count.c: Use the adjusted names.

From-SVN: r271397
parent bc374246
2019-05-20 Martin Liska <mliska@suse.cz>
* profile-count.h (enum profile_quality): Use capital letters
for enum value names. Use the adjusted names.
* profile-count.c: Use the adjusted names.
2019-05-19 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/constraints.md (define_register_constraint "wH"):
......
......@@ -168,11 +168,11 @@ profile_probability::dump (FILE *f) const
fprintf (f, "always");
else
fprintf (f, "%3.1f%%", (double)m_val * 100 / max_probability);
if (m_quality == profile_adjusted)
if (m_quality == ADJUSTED)
fprintf (f, " (adjusted)");
else if (m_quality == profile_afdo)
else if (m_quality == AFDO)
fprintf (f, " (auto FDO)");
else if (m_quality == profile_guessed)
else if (m_quality == GUESSED)
fprintf (f, " (guessed)");
}
}
......
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