jcf-write.c: (RELOCATION_VALUE_0): New macro.
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Wed, 13 Oct 1999 02:52:08 +0000 (02:52 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Wed, 13 Oct 1999 02:52:08 +0000 (19:52 -0700)
commitcacc154eccf1c9c89d1b734f6b0ec6daf4f21ad8
tree8396c68bacb7d3aa41013b5226c0f1bf26665cad
parent006d4a9b37bf6dc8dafd5b213e8cdb23657fd3a6
jcf-write.c: (RELOCATION_VALUE_0): New macro.

Tue Sep 14 16:24:19 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c: (RELOCATION_VALUE_0): New macro.
        (RELOCATION_VALUE_1): Likewise.
        (emit_iinc, emit_reloc, push_constant1, push_constant2,
        push_in_const, push_long_const): Prototyped.
        (push_constant1): Argument `index' is of type HOST_WIDE_INT.
        (push_constant2): Likewise.
        (push_int_const): Cast find_constant1's integer arguments to `jword'.
        (find_constant_wide): Cast find_constant2's integer arguments to
        `jword'.
        (find_constant_index): Cast find_constant2's and find_constant2's
        integer arguments to `jword'.
        (emit_pop): Argument `value' is of type HOST_WIDE_INT.
        (emit_switch_reloc): Use RELOCATION_VALUE_0.
        (emit_if): Use RELOCATION_VALUE_1.
        (emit_goto): Likewise.
        (emit_jsr): Likewise.
        (generate_bytecode_insns): Use RELOCATION_VALUE_0. Cast second
        argument to push_long_const to HOST_WIDE_INT.

(This is a forgotten patch.)

From-SVN: r29932
gcc/java/ChangeLog
gcc/java/jcf-write.c