codedump.c: instruction length should be ilen, not iseq.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-07-30 17:50:24 +09:00
parent 517071e3fa
commit 4306893971
+1 -1
View File
@@ -68,7 +68,7 @@ codedump(mrb_state *mrb, const mrb_irep *irep)
const char *file = NULL, *next_file;
if (!irep) return;
printf("irep %p nregs=%d nlocals=%d pools=%d syms=%d reps=%d iseq=%d\n", (void*)irep,
printf("irep %p nregs=%d nlocals=%d pools=%d syms=%d reps=%d ilen=%d\n", (void*)irep,
irep->nregs, irep->nlocals, (int)irep->plen, (int)irep->slen, (int)irep->rlen, (int)irep->ilen);
if (irep->lv) {