diff options
| author | 2025-11-12 17:58:51 +0100 | |
|---|---|---|
| committer | 2025-11-12 18:03:42 +0100 | |
| commit | 82a3c1cd8d00bc342752c31116c497c52f6d8933 (patch) | |
| tree | 9b4256a83c68b6569a75d08307a50a5662f2cfb2 /ir/abi0.c | |
| parent | 070bf6f223b6cc6f3d7a6c28c1afce8c0bc8a72e (diff) | |
implement argument passing in stack
Diffstat (limited to 'ir/abi0.c')
| -rw-r--r-- | ir/abi0.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -276,6 +276,7 @@ abi0_call(struct function *fn, struct instr *ins, struct block *blk, int *curi) if (call->vararg == i) vararg = i2; i2 += ret; } + call->argstksiz = ns; /* adjust return */ if (call->ret.isagg) { ins->cls = 0; |