From: twisti Date: Tue, 31 Jan 2006 22:31:15 +0000 (+0000) Subject: * src/vm/jit/stack.c (show_icmd_block): Print the basic block type. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=c2164ca0b7082957f6dade876bb55628db107f98;p=cacao.git * src/vm/jit/stack.c (show_icmd_block): Print the basic block type. --- diff --git a/src/vm/jit/stack.c b/src/vm/jit/stack.c index 21dd84c43..bf548cc57 100644 --- a/src/vm/jit/stack.c +++ b/src/vm/jit/stack.c @@ -30,7 +30,7 @@ Christian Thalinger Christian Ullrich - $Id: stack.c 4385 2006-01-29 17:27:07Z twisti $ + $Id: stack.c 4395 2006-01-31 22:31:15Z twisti $ */ @@ -2710,8 +2710,22 @@ void show_icmd_block(methodinfo *m, codegendata *cd, basicblock *bptr) else icmd_print_stack(cd, bptr->instack); - printf("] L%03d(instruction count: %d, predecessors: %d):\n", - bptr->debug_nr, bptr->icount, bptr->pre_count); + printf("] L%03d(type: ", bptr->debug_nr); + + switch (bptr->type) { + case BBTYPE_STD: + printf("STD"); + break; + case BBTYPE_EXH: + printf("EXH"); + break; + case BBTYPE_SBR: + printf("SBR"); + break; + } + + printf(", instruction count: %d, predecessors: %d):\n", + bptr->icount, bptr->pre_count); iptr = bptr->iinstr;