Commit d872853d by Jan Hubicka Committed by Jan Hubicka

* bb-reorder.c (fix_up_crossing_landing_pad): Update profile.

From-SVN: r249886
parent 57a5a8b3
2017-07-02 Jan Hubicka <hubicka@ucw.cz>
* bb-reorder.c (fix_up_crossing_landing_pad): Update profile.
2017-07-02 Jan Hubicka <hubicka@ucw.cz>
* expect.c (dw2_build_landing_pads): Update profile of the landing pad
bb.
......
......@@ -1446,6 +1446,8 @@ fix_up_crossing_landing_pad (eh_landing_pad old_lp, basic_block old_bb)
last_bb = EXIT_BLOCK_PTR_FOR_FN (cfun)->prev_bb;
new_bb = create_basic_block (new_label, jump, last_bb);
new_bb->aux = last_bb->aux;
new_bb->frequency = post_bb->frequency;
new_bb->count = post_bb->count;
last_bb->aux = new_bb;
emit_barrier_after_bb (new_bb);
......
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