Commit e7abfe07 by Jan Hubicka Committed by Jan Hubicka

* lto-streamer-in.c (input_cfg): Fix pasto.

From-SVN: r167467
parent cb20668f
2010-12-03 Jan Hubicka <jh@suse.cz>
* lto-streamer-in.c (input_cfg): Fix pasto.
2010-12-03 Jan Hubicka <jh@suse.cz>
* ipa.c (cgraph_externally_visible_p): Do not localize builtins
and functions with user asm defined names.
(varpool_externally_visible_p): Do not localize vars with user
......@@ -753,8 +753,7 @@ input_cfg (struct lto_input_block *ib, struct function *fn,
if (bb == NULL)
bb = make_new_block (fn, index);
edge_count = (lto_input_uleb128 (ib) * count_materialization_scale
+ REG_BR_PROB_BASE / 2) / REG_BR_PROB_BASE;
edge_count = lto_input_uleb128 (ib);
/* Connect up the CFG. */
for (i = 0; i < edge_count; i++)
......@@ -768,7 +767,8 @@ input_cfg (struct lto_input_block *ib, struct function *fn,
dest_index = lto_input_uleb128 (ib);
probability = (int) lto_input_sleb128 (ib);
count = (gcov_type) lto_input_sleb128 (ib);
count = ((gcov_type) lto_input_sleb128 (ib) * count_materialization_scale
+ REG_BR_PROB_BASE / 2) / REG_BR_PROB_BASE;
edge_flags = lto_input_uleb128 (ib);
dest = BASIC_BLOCK_FOR_FUNCTION (fn, dest_index);
......
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