Commit fd2c57a9 by Andrew Haley Committed by Andrew Haley

except.c (sjlj_mark_call_sites): Change address inside sequence.

2001-09-25  Andrew Haley  <aph@cambridge.redhat.com>

	* except.c (sjlj_mark_call_sites): Change address inside sequence.

From-SVN: r45822
parent ee3d5b8e
2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
* except.c (sjlj_mark_call_sites): Change address inside sequence.
2001-09-24 Andrew Haley <aph@cambridge.redhat.com> 2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
* config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
......
...@@ -2055,9 +2055,6 @@ sjlj_mark_call_sites (lp_info) ...@@ -2055,9 +2055,6 @@ sjlj_mark_call_sites (lp_info)
int last_call_site = -2; int last_call_site = -2;
rtx insn, mem; rtx insn, mem;
mem = adjust_address (cfun->eh->sjlj_fc, TYPE_MODE (integer_type_node),
sjlj_fc_call_site_ofs);
for (insn = get_insns (); insn ; insn = NEXT_INSN (insn)) for (insn = get_insns (); insn ; insn = NEXT_INSN (insn))
{ {
struct eh_region *region; struct eh_region *region;
...@@ -2103,6 +2100,8 @@ sjlj_mark_call_sites (lp_info) ...@@ -2103,6 +2100,8 @@ sjlj_mark_call_sites (lp_info)
before = find_first_parameter_load (insn, NULL_RTX); before = find_first_parameter_load (insn, NULL_RTX);
start_sequence (); start_sequence ();
mem = adjust_address (cfun->eh->sjlj_fc, TYPE_MODE (integer_type_node),
sjlj_fc_call_site_ofs);
emit_move_insn (mem, GEN_INT (this_call_site)); emit_move_insn (mem, GEN_INT (this_call_site));
p = get_insns (); p = get_insns ();
end_sequence (); end_sequence ();
......
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