reorg.c (relax_delay_slots): Fixed test for mostly_true_jump.

* reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The
        did not match the code.

From-SVN: r23239
This commit is contained in:
Herman A.J. ten Brugge 1998-10-23 01:34:56 +02:00 committed by Jeff Law
parent 1938bea67e
commit 6f20793d6f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1998-10-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The
did not match the code.
Fri Oct 23 00:07:01 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* regclass.c (regclass): Break out some code into new function

View File

@ -4164,7 +4164,7 @@ relax_delay_slots (first)
&& (other = prev_active_insn (insn)) != 0
&& (condjump_p (other) || condjump_in_parallel_p (other))
&& no_labels_between_p (other, insn)
&& 0 < mostly_true_jump (other,
&& 0 > mostly_true_jump (other,
get_branch_condition (other,
JUMP_LABEL (other))))
{