* lto-streamer-in.c (input_cfg): Fix pasto.
From-SVN: r167467
This commit is contained in:
parent
cb20668f27
commit
e7abfe07ee
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user