diff options
| author | 2025-11-21 19:48:33 +0100 | |
|---|---|---|
| committer | 2025-11-21 19:48:33 +0100 | |
| commit | fd74f66379b45e2ce29fd83a00f4cbebb2214269 (patch) | |
| tree | e9fa00bfd07d8a87befa623ac3fb21fb97f39bf1 /ir | |
| parent | f119f08aa254d4e98211ade88b8c415fba3746fb (diff) | |
irdump: print alloca # bytes
Diffstat (limited to 'ir')
| -rw-r--r-- | ir/dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -203,6 +203,9 @@ dumpinst(const struct instr *ins) dumpref(ins->op, (&ins->l)[i]); } } + if (oisalloca(ins->op) && ins->l.t == RICON) { + bfmt(out, " \t; %d bytes", ins->l.i << (ins->op - Oalloca1)); + } bfmt(out, "\n"); } |