diff options
| author | 2026-03-23 19:20:32 +0100 | |
|---|---|---|
| committer | 2026-03-23 19:20:32 +0100 | |
| commit | 8630aeb8b43c507cd00f5b091ddcee4def464f4d (patch) | |
| tree | 1e39866c9f95e2f30903b96c7f255dd03a463d82 /src/ir_dump.c | |
| parent | 9ffc0e5a21817a45956bc35d5996bfae09c4d49e (diff) | |
IR: mark free'd instructions as such
That way they are not copied when inlining.
Also rename ninstr -> ninstrtab. opnarg -> opnoper
Diffstat (limited to 'src/ir_dump.c')
| -rw-r--r-- | src/ir_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_dump.c b/src/ir_dump.c index 89d34d4..4c18a70 100644 --- a/src/ir_dump.c +++ b/src/ir_dump.c @@ -210,7 +210,7 @@ dumpinst(const Instr *ins) if (oiscmp(ins->op)) bfmt(out, "%s ", clsname[ins->cls]); } - for (i = 0; i < opnarg[ins->op]; ++i) { + for (i = 0; i < opnoper[ins->op]; ++i) { if (i) bfmt(out, ", "); if (i == 1 && (ins->op == Ocall || ins->op == Ointrin)) { dumpcall(&calltab.p[ins->r.i]); |