From 801fd8cc2fb5b5d5dadb68578058e21917b43ef6 Mon Sep 17 00:00:00 2001 From: edwin Date: Fri, 14 Jul 2006 17:06:13 +0000 Subject: [PATCH] * src/vm/jit/show.c (new_show_icmd): Fixed showing of LASTORECONST. --- src/vm/jit/show.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/vm/jit/show.c b/src/vm/jit/show.c index 96a3a83f1..ae495d27d 100644 --- a/src/vm/jit/show.c +++ b/src/vm/jit/show.c @@ -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); -- 2.25.1