]> gcc.gnu.org Git - gcc.git/commitdiff
jcf-write.c (emit_goto): RESERVE 3 bytes for insn.
authorAndrew Haley <aph@cygnus.com>
Thu, 27 Jan 2000 19:09:14 +0000 (19:09 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Thu, 27 Jan 2000 19:09:14 +0000 (19:09 +0000)
2000-01-27  Andrew Haley  <aph@cygnus.com>

        * jcf-write.c (emit_goto): RESERVE 3 bytes for insn.
        (emit_if): Ditto.
        (emit_jsr): Ditto.

From-SVN: r31647

gcc/java/ChangeLog
gcc/java/jcf-write.c

index 251c4be057ec743fe7322d119a6ced0b2fd9ba62..c28b99aaef8da77c785c62abf5530e80848c8a7f 100644 (file)
@@ -1,3 +1,9 @@
+2000-01-27  Andrew Haley  <aph@cygnus.com>
+
+        * jcf-write.c (emit_goto): RESERVE 3 bytes for insn.
+        (emit_if): Ditto.
+        (emit_jsr): Ditto.
+
 2000-01-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * parse.h (OBSOLETE_MODIFIER_WARNING): Don't use ANSI string
index 0577dcd01f1dc4e88fdd57104ee94a42b17c758d..d63ad3efbca31eb1e778952394bb4d9b24f7f318 100644 (file)
@@ -1086,6 +1086,7 @@ emit_if (target, opcode, inv_opcode, state)
      int opcode, inv_opcode;
      struct jcf_partial *state;
 {
+  RESERVE(3);
   OP1 (opcode);
   /* value is 1 byte from reloc back to start of instruction.  */
   emit_reloc (RELOCATION_VALUE_1, - inv_opcode, target, state);
@@ -1096,6 +1097,7 @@ emit_goto (target, state)
      struct jcf_block *target;
      struct jcf_partial *state;
 {
+  RESERVE(3);
   OP1 (OPCODE_goto);
   /* Value is 1 byte from reloc back to start of instruction.  */
   emit_reloc (RELOCATION_VALUE_1, OPCODE_goto_w, target, state);
@@ -1106,6 +1108,7 @@ emit_jsr (target, state)
      struct jcf_block *target;
      struct jcf_partial *state;
 {
+  RESERVE(3);
   OP1 (OPCODE_jsr);
   /* Value is 1 byte from reloc back to start of instruction.  */
   emit_reloc (RELOCATION_VALUE_1, OPCODE_jsr_w, target, state);
This page took 0.08121 seconds and 5 git commands to generate.