Commit 5f9ee695 by Jeffrey A Law Committed by Jeff Law

gjavah.c, [...]: Do not use C++ style comments in C code.

        * gjavah.c, jcf-write.c, verify.c: Do not use C++ style
        comments in C code.

From-SVN: r28940
parent 71443006
Fri Aug 27 23:31:57 1999 Jeffrey A Law (law@cygnus.com)
* gjavah.c, jcf-write.c, verify.c: Do not use C++ style
comments in C code.
1999-08-26 Tom Tromey <tromey@cygnus.com> 1999-08-26 Tom Tromey <tromey@cygnus.com>
* gjavah.c (print_cxx_classname): Print "::" before qualified * gjavah.c (print_cxx_classname): Print "::" before qualified
......
...@@ -840,7 +840,7 @@ DEFUN(print_c_decl, (stream, jcf, name_index, signature_index, is_init, ...@@ -840,7 +840,7 @@ DEFUN(print_c_decl, (stream, jcf, name_index, signature_index, is_init,
} }
} }
// Print the unqualified method name followed by the signature. /* Print the unqualified method name followed by the signature. */
static void static void
DEFUN(print_full_cxx_name, (stream, jcf, name_index, signature_index, is_init, name_override), DEFUN(print_full_cxx_name, (stream, jcf, name_index, signature_index, is_init, name_override),
FILE* stream AND JCF* jcf FILE* stream AND JCF* jcf
......
...@@ -1073,7 +1073,7 @@ emit_if (target, opcode, inv_opcode, state) ...@@ -1073,7 +1073,7 @@ emit_if (target, opcode, inv_opcode, state)
struct jcf_partial *state; struct jcf_partial *state;
{ {
OP1 (opcode); OP1 (opcode);
// value is 1 byte from reloc back to start of instruction. /* value is 1 byte from reloc back to start of instruction. */
emit_reloc (1, - inv_opcode, target, state); emit_reloc (1, - inv_opcode, target, state);
} }
...@@ -1083,7 +1083,7 @@ emit_goto (target, state) ...@@ -1083,7 +1083,7 @@ emit_goto (target, state)
struct jcf_partial *state; struct jcf_partial *state;
{ {
OP1 (OPCODE_goto); OP1 (OPCODE_goto);
// Value is 1 byte from reloc back to start of instruction. /* Value is 1 byte from reloc back to start of instruction. */
emit_reloc (1, OPCODE_goto_w, target, state); emit_reloc (1, OPCODE_goto_w, target, state);
} }
...@@ -1093,7 +1093,7 @@ emit_jsr (target, state) ...@@ -1093,7 +1093,7 @@ emit_jsr (target, state)
struct jcf_partial *state; struct jcf_partial *state;
{ {
OP1 (OPCODE_jsr); OP1 (OPCODE_jsr);
// Value is 1 byte from reloc back to start of instruction. /* Value is 1 byte from reloc back to start of instruction. */
emit_reloc (1, OPCODE_jsr_w, target, state); emit_reloc (1, OPCODE_jsr_w, target, state);
} }
......
...@@ -1066,7 +1066,7 @@ verify_jvm_instructions (jcf, byte_ops, length) ...@@ -1066,7 +1066,7 @@ verify_jvm_instructions (jcf, byte_ops, length)
break; break;
case OPCODE_athrow: case OPCODE_athrow:
// FIXME: athrow also empties the stack. /* FIXME: athrow also empties the stack. */
pop_type (throwable_type_node); pop_type (throwable_type_node);
INVALIDATE_PC; INVALIDATE_PC;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment