mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 22:45:13 +08:00
* profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
From-SVN: r16309
This commit is contained in:
parent
a8a63732c4
commit
1686f1a2ae
@ -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…
Reference in New Issue
Block a user