* src/vm/jit/show.c (new_show_icmd): Show BLOCK_OF tableswitch
authoredwin <none@none>
Tue, 5 Sep 2006 21:53:36 +0000 (21:53 +0000)
committeredwin <none@none>
Tue, 5 Sep 2006 21:53:36 +0000 (21:53 +0000)
targets.

--HG--
branch : new_instruction_format

src/vm/jit/show.c

index 5d319f80042ac9e9e47106005f7e505cd1af0659..a964518fba5e0027dcc15db661dd4f26c446c609 100644 (file)
@@ -55,6 +55,7 @@
 #include "vm/jit/jit.h"
 #include "vm/jit/show.h"
 #include "vm/jit/disass.h"
+#include "vm/jit/stack.h"
 
 
 /* global variables ***********************************************************/
@@ -1190,7 +1191,7 @@ void new_show_icmd(jitdata *jd, instruction *iptr, bool deadcode, int stage)
                                printf("L%03d\n", table->block->nr);
                        }
                        else {
-                               printf("insindex %d\n", table->insindex);
+                               printf("insindex %d (L%03d)\n", table->insindex, BLOCK_OF(table->insindex)->nr);
                        }
                        table++;
                }