* src/vm/jit/show.c (new_show_icmd): Fixed showing of LASTORECONST.
authoredwin <none@none>
Fri, 14 Jul 2006 17:06:13 +0000 (17:06 +0000)
committeredwin <none@none>
Fri, 14 Jul 2006 17:06:13 +0000 (17:06 +0000)
src/vm/jit/show.c

index 96a3a83f185bd2e5b13f672a823d4f6f86da3396..ae495d27d2e9f407f7ce4183b12ba18ae2e3b7ab 100644 (file)
@@ -1337,7 +1337,7 @@ void new_show_icmd(jitdata *jd, new_instruction *iptr, bool deadcode, int stage)
                SHOW_DST(iptr);
                break;
 
-               /* ?ASTORECONST */
+               /* ?ASTORECONST (trinary/const INT) */
        case ICMD_IASTORECONST:
        case ICMD_BASTORECONST:
        case ICMD_CASTORECONST:
@@ -1374,12 +1374,18 @@ void new_show_icmd(jitdata *jd, new_instruction *iptr, bool deadcode, int stage)
        case ICMD_LANDCONST:
        case ICMD_LORCONST:
        case ICMD_LXORCONST:
-       case ICMD_LASTORECONST:
                SHOW_S1(iptr);
                SHOW_LNG_CONST(iptr->sx.val.l); 
                SHOW_DST(iptr);
                break;
 
+               /* trinary/const LNG (<= pointer size) */
+       case ICMD_LASTORECONST:
+               SHOW_S1(iptr);
+               SHOW_S2(iptr);
+               SHOW_LNG_CONST(iptr->sx.s23.s3.constval);
+               break;
+
                /* const LNG */
        case ICMD_LCONST:
                SHOW_LNG_CONST(iptr->sx.val.l);