mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Print length of the iseq in code dump header; fix #4304
This commit is contained in:
+2
-2
@@ -74,8 +74,8 @@ codedump(mrb_state *mrb, 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\n", (void*)irep,
|
||||
irep->nregs, irep->nlocals, (int)irep->plen, (int)irep->slen, (int)irep->rlen);
|
||||
printf("irep %p nregs=%d nlocals=%d pools=%d syms=%d reps=%d iseq=%d\n", (void*)irep,
|
||||
irep->nregs, irep->nlocals, (int)irep->plen, (int)irep->slen, (int)irep->rlen, (int)irep->ilen);
|
||||
|
||||
if (irep->lv) {
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user