tree-eh.c (lower_try_finally_copy): Do lower_eh_constructs_1 before emit_post_landing_pad.

* tree-eh.c (lower_try_finally_copy): Do lower_eh_constructs_1
        before emit_post_landing_pad.

From-SVN: r153044
This commit is contained in:
Richard Henderson 2009-10-20 15:54:28 -07:00 committed by Richard Henderson
parent 53d6697702
commit 288f5b2e84
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2009-10-20 Richard Henderson <rth@redhat.com>
* tree-eh.c (lower_try_finally_copy): Do lower_eh_constructs_1
before emit_post_landing_pad.
2009-10-20 Adam Nemet <anemet@caviumnetworks.com>
* config/mips/mips.c (mips_binary_cost): Add new argument speed.

View File

@ -1192,12 +1192,11 @@ lower_try_finally_copy (struct leh_state *state, struct leh_tf_state *tf)
if (tf->may_throw)
{
emit_post_landing_pad (&eh_seq, tf->region);
seq = lower_try_finally_dup_block (finally, state);
lower_eh_constructs_1 (state, seq);
gimple_seq_add_seq (&eh_seq, seq);
emit_post_landing_pad (&eh_seq, tf->region);
gimple_seq_add_seq (&eh_seq, seq);
emit_resx (&eh_seq, tf->region);
}