X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvm%2Fjit%2Fshow.cpp;h=6210c59b98da1b3f56bb2926af711d5d27f9b20b;hb=7f461fba26d7241e160c580dbca9ba1c2656e572;hp=24b64dfd03e41339a4a08c51aab180f3c425067a;hpb=a972dc38e7ed2303de37afe2952f3f398fb44c51;p=cacao.git diff --git a/src/vm/jit/show.cpp b/src/vm/jit/show.cpp index 24b64dfd0..6210c59b9 100644 --- a/src/vm/jit/show.cpp +++ b/src/vm/jit/show.cpp @@ -192,7 +192,7 @@ void show_method(jitdata *jd, int stage) } if (stage >= SHOW_PARSE) { - printf("Exceptions (Number: %d):\n", jd->exceptiontablelength); + printf("Exceptions (number=%d):\n", jd->exceptiontablelength); for (ex = jd->exceptiontable; ex != NULL; ex = ex->down) { printf(" L%03d ... ", ex->start->nr ); printf("L%03d = ", ex->end->nr); @@ -311,12 +311,12 @@ void show_method(jitdata *jd, int stage) int max; max = rd->memuse; - printf("Stack slots: (memuse=%d", rd->memuse); + printf("Stack slots (memuse=%d", rd->memuse); if (irstage >= SHOW_CODE) { printf(", stackframesize=%d", cd->stackframesize); max = cd->stackframesize; } - printf(")\n"); + printf("):\n"); for (i = 0; i < max; ++i) { printf(" M%02d = 0x%02x(sp): ", i, i * 8); for (j = 0; j < jd->vartop; ++j) { @@ -333,6 +333,13 @@ void show_method(jitdata *jd, int stage) printf("\n"); } + if (!code->patchers->empty()) { + int number = code->patchers->size(); + printf("Patcher References (number=%d):\n", number); + patcher_list_show(code); + printf("\n"); + } + #if defined(ENABLE_REPLACEMENT) if (code->rplpoints) { printf("Replacement Points:\n");