* src/vm/jit/show.c (new_show_icmd): Separate real arguments and
authoredwin <none@none>
Thu, 7 Sep 2006 00:32:45 +0000 (00:32 +0000)
committeredwin <none@none>
Thu, 7 Sep 2006 00:32:45 +0000 (00:32 +0000)
pass-through variables for INVOKE*.

--HG--
branch : new_instruction_format

src/vm/jit/show.c

index 8938d17c9122139bfb88453f54bac0698a7c4c3a..b1549e4e3a65ed6bc19348245de4f1d2451efa39 100644 (file)
@@ -1090,9 +1090,13 @@ void new_show_icmd(jitdata *jd, instruction *iptr, bool deadcode, int stage)
        case ICMD_INVOKESTATIC:
        case ICMD_INVOKEINTERFACE:
                if (stage >= SHOW_STACK) {
+                       methoddesc *md;
+                       INSTRUCTION_GET_METHODDESC(iptr, md);
                        argp = iptr->sx.s23.s2.args;
                        i = iptr->s1.argcount;
                        while (i--) {
+                               if ((iptr->s1.argcount - 1 - i) == md->paramcount)
+                                       printf(" pass-through: ");
                                SHOW_STACKVAR(*(argp++));
                        }
                }