Commit 68e2e141 by Jan Hubicka Committed by Jan Hubicka

ipa-inline.c (cgraph_edge_badness): Add "else" missing in the previous patch.

	* ipa-inline.c (cgraph_edge_badness): Add "else" missing in the
	previous patch.

From-SVN: r121825
parent dcdc7b6c
2007-02-11 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (cgraph_edge_badness): Add "else" missing in the
previous patch.
2007-02-11 Steven Bosscher <steven@gcc.gnu.org>
* fwprop.c (try_fwprop_subst): Use set_unique_reg_note
......
......@@ -496,7 +496,7 @@ cgraph_edge_badness (struct cgraph_edge *edge)
/* When profiling is available, base priorities -(#calls / growth).
So we optimize for overall number of "executed" inlined calls. */
if (max_count)
else if (max_count)
badness = ((int)((double)edge->count * INT_MIN / max_count)) / growth;
/* When function local profile is available, base priorities on
......
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