* i386.c (ix86_reorg): Calls are also jumps.

From-SVN: r67133
This commit is contained in:
Jan Hubicka 2003-05-23 22:25:21 +02:00 committed by Jan Hubicka
parent 839844befa
commit 25f57a0e23
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Fri May 23 22:17:32 CEST 2003 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_reorg): Calls are also jumps.
2003-05-23 J"orn Rennecke <joern.rennecke@superh.com>
* cse.c (count_reg_usage): When processing an INSNs REG_EQUAL

View file

@ -15565,8 +15565,9 @@ ix86_reorg ()
if (!insert)
{
prev = prev_active_insn (ret);
if (prev && GET_CODE (prev) == JUMP_INSN
&& any_condjump_p (prev))
if (prev
&& ((GET_CODE (prev) == JUMP_INSN && any_condjump_p (prev))
|| GET_CODE (prev) == CALL_INSN))
insert = 1;
/* Empty functions get branch misspredict even when the jump destination
is not visible to us. */