Run time type check with relative numbering added. Checkcast and Instanceof
[cacao.git] / ncomp / nstack.c
index 59da5f32e5f982a15871f84dc2556cbb20fcad18..6454348907faa0f7b5854c25b42f7a923a8ade8b 100644 (file)
@@ -1927,4 +1927,13 @@ static void show_icmd_method()
                        printf("\n");
                        }
        }
+       i = block[b].mpc;
+       s4ptr = (s4 *) (method->mcode + dseglen + i);
+       if (showdisassemble && (s4ptr < (s4 *) (method->mcode + method->mcodelength))) {
+               printf("\n");
+               for (; s4ptr < (s4 *) (method->mcode + method->mcodelength); i += 4, s4ptr++) {
+                       disasscmd (*s4ptr, i); 
+                       }
+               printf("\n");
+               }
 }