]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/dojump.c
expr.h (jumpifnot_1, [...]): Declare.
authorMichael Matz <matz@suse.de>
Tue, 25 Aug 2009 13:35:39 +0000 (13:35 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Tue, 25 Aug 2009 13:35:39 +0000 (13:35 +0000)
commit4df62c77fe216dd68b85f09d20910203e035efb2
treed43aba513d89c453e3953db977ef143d011fa0e4
parent8e7aa1f9a319b100c721a7d83294a799a295407c
expr.h (jumpifnot_1, [...]): Declare.

        * expr.h (jumpifnot_1, jumpif_1, do_jump_1): Declare.
        * dojump.c (do_jump_by_parts_greater): Take two operands instead of
        full expression.
        (do_jump_by_parts_equality, do_compare_and_jump): Ditto.
        (jumpifnot_1, jumpif_1): New wrappers for do_jump_1.
        (do_jump): Split out code for simple binary comparisons into ...
        (do_jump_1): ... this, taking the individual operands and code.
        Change callers to helper function above accordingly.
        * expr.c (expand_expr_real_1): Use jumpifnot_1 for simple binary
        comparisons.

From-SVN: r151080
gcc/ChangeLog
gcc/dojump.c
gcc/expr.c
gcc/expr.h