* profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
From-SVN: r16309
This commit is contained in:
parent
a8a63732c4
commit
1686f1a2ae
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue