projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d2cf435
)
* src/vm/jit/show.c (new_show_icmd): Fixed showing of LASTORECONST.
author
edwin
<none@none>
Fri, 14 Jul 2006 17:06:13 +0000
(17:06 +0000)
committer
edwin
<none@none>
Fri, 14 Jul 2006 17:06:13 +0000
(17:06 +0000)
src/vm/jit/show.c
patch
|
blob
|
history
diff --git
a/src/vm/jit/show.c
b/src/vm/jit/show.c
index 96a3a83f185bd2e5b13f672a823d4f6f86da3396..ae495d27d2e9f407f7ce4183b12ba18ae2e3b7ab 100644
(file)
--- 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;
SHOW_DST(iptr);
break;
- /* ?ASTORECONST */
+ /* ?ASTORECONST
(trinary/const INT)
*/
case ICMD_IASTORECONST:
case ICMD_BASTORECONST:
case ICMD_CASTORECONST:
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_LANDCONST:
case ICMD_LORCONST:
case ICMD_LXORCONST:
- case ICMD_LASTORECONST:
SHOW_S1(iptr);
SHOW_LNG_CONST(iptr->sx.val.l);
SHOW_DST(iptr);
break;
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);
/* const LNG */
case ICMD_LCONST:
SHOW_LNG_CONST(iptr->sx.val.l);