diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-30 17:50:24 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-30 17:50:24 +0900 |
| commit | 4306893971130edb31ac07d54c86923c2fbfa8c0 (patch) | |
| tree | bfee9b52b07c02fefd546a35b16c74bf182ecd99 /src/codedump.c | |
| parent | 517071e3faa4aff498da58b3aa22081229af84e2 (diff) | |
| download | mruby-4306893971130edb31ac07d54c86923c2fbfa8c0.tar.gz mruby-4306893971130edb31ac07d54c86923c2fbfa8c0.zip | |
codedump.c: instruction length should be `ilen`, not `iseq`.
Diffstat (limited to 'src/codedump.c')
| -rw-r--r-- | src/codedump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codedump.c b/src/codedump.c index 1693177a7..f662e0cb3 100644 --- a/src/codedump.c +++ b/src/codedump.c @@ -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) { |
