* src/vm/jit/mips/codegen.c (codegen_emit_stub_native): Removed
[cacao.git] / src / vm / jit / show.c
index fa2e4a06fecdb85e414fbf36e53fe82b12240653..41d77a156c93e7e81371c11873e8c66e1191e4fd 100644 (file)
@@ -179,7 +179,7 @@ void show_method(jitdata *jd, int stage)
 
        method_println(m);
 
-       if (jd->isleafmethod)
+       if (code_is_leafmethod(code))
                printf("LEAFMETHOD\n");
 
        printf("\nBasic blocks: %d\n", jd->basicblockcount);
@@ -376,10 +376,10 @@ void show_method(jitdata *jd, int stage)
        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)));
@@ -1351,32 +1351,6 @@ void show_icmd(jitdata *jd, instruction *iptr, bool deadcode, int stage)
        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);