method_println(m);
- if (jd->isleafmethod)
+ if (code_is_leafmethod(code))
printf("LEAFMETHOD\n");
printf("\nBasic blocks: %d\n", jd->basicblockcount);
for (bptr = jd->basicblocks; bptr != NULL; bptr = bptr->next)
show_basicblock(jd, bptr, stage);
-#if defined(ENABLE_DISASSEMBLER)
- /* show stubs code */
+#if 0 && defined(ENABLE_DISASSEMBLER)
+ /* show code after last basic block */
- if (stage >= SHOW_CODE && opt_showdisassemble && opt_showexceptionstubs) {
+ if (stage >= SHOW_CODE && opt_showdisassemble) {
printf("\nStubs code:\n");
printf("Length: %d\n\n", (s4) (code->mcodelength -
((ptrint) cd->dseglen + lastbptr->mpc)));
case ICMD_IF_LCMPGT:
case ICMD_IF_LCMPLE:
- case ICMD_IF_FCMPEQ:
- case ICMD_IF_FCMPNE:
-
- case ICMD_IF_FCMPL_LT:
- case ICMD_IF_FCMPL_GE:
- case ICMD_IF_FCMPL_GT:
- case ICMD_IF_FCMPL_LE:
-
- case ICMD_IF_FCMPG_LT:
- case ICMD_IF_FCMPG_GE:
- case ICMD_IF_FCMPG_GT:
- case ICMD_IF_FCMPG_LE:
-
- case ICMD_IF_DCMPEQ:
- case ICMD_IF_DCMPNE:
-
- case ICMD_IF_DCMPL_LT:
- case ICMD_IF_DCMPL_GE:
- case ICMD_IF_DCMPL_GT:
- case ICMD_IF_DCMPL_LE:
-
- case ICMD_IF_DCMPG_LT:
- case ICMD_IF_DCMPG_GE:
- case ICMD_IF_DCMPG_GT:
- case ICMD_IF_DCMPG_LE:
-
case ICMD_IF_ACMPEQ:
case ICMD_IF_ACMPNE:
SHOW_S1(iptr);