Commit 0f0d3319 by Per Bothner Committed by Per Bothner

jcf-dump.c (INVOKE): If invokeinterface, print number of args.

 
	* jcf-dump.c (INVOKE):  If invokeinterface, print number of args.

From-SVN: r24140
parent 8962b4b4
Sun Dec 6 13:21:18 1998 Per Bothner <bothner@cygnus.com>
* jcf-dump.c (INVOKE): If invokeinterface, print number of args.
Thu Dec 3 17:11:12 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
* java-tree.h (java_layout_seen_class_methods): New function
......
......@@ -976,7 +976,9 @@ DEFUN(disassemble_method, (jcf, byte_ops, len),
/* Print operand for invoke opcodes. */
#define INVOKE(OPERAND_TYPE, OPERAND_VALUE) \
fputc (' ', out); print_constant_ref (out, jcf, IMMEDIATE_u2);\
PC += 2 * OPERAND_VALUE /* for invokeinterface */;
if (OPERAND_VALUE) /* for invokeinterface */ \
{ int nargs = IMMEDIATE_u1; PC++; \
fprintf (out, " nargs:%d", nargs); }
#define OBJECT(OPERAND_TYPE, OPERAND_VALUE) \
fputc (' ', out); print_constant_ref (out, jcf, IMMEDIATE_u2);
......
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