Commit 1686f1a2 by J"orn Rennecke Committed by Joern Rennecke

* profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.

From-SVN: r16309
parent a8a63732
Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
* configure.in (sco5): Use cpio to install header files.
......
......@@ -818,7 +818,13 @@ branch_prob (f, dump_file)
if (code != NOTE)
prev_code = code;
else if (NOTE_LINE_NUMBER (insn) == NOTE_INSN_SETJMP)
prev_code = CALL_INSN;
{
/* Make a fake insn to tag our notes on. */
bb_graph[i].first_insn = insn
= emit_insn_after (gen_rtx (USE, VOIDmode, stack_pointer_rtx),
insn);
prev_code = CALL_INSN;
}
}
/* If the code at the end of the function would give a new block, then
......
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