diff options
| author | 2026-03-18 11:33:41 +0100 | |
|---|---|---|
| committer | 2026-03-18 11:33:41 +0100 | |
| commit | 1d9e19fb3bb941cdc28e9d4c3063d3e213fd8312 (patch) | |
| tree | e18eddb587f91455a439c0fd4f1bb3b3216ea2df /src/ir_stack.c | |
| parent | 1fee6a61abdf2cf332fffbc50bf7adc1842feb40 (diff) | |
Refactor: use typedefs and CamelCase for aggregate types
Looks nicer
Diffstat (limited to 'src/ir_stack.c')
| -rw-r--r-- | src/ir_stack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ir_stack.c b/src/ir_stack.c index 40a7b1d..d15a764 100644 --- a/src/ir_stack.c +++ b/src/ir_stack.c @@ -1,16 +1,16 @@ #include "ir.h" void -lowerstack(struct function *fn) +lowerstack(Function *fn) { fn->stksiz = 0; FREQUIRE(FNUSE); - struct block *blk = fn->entry; + Block *blk = fn->entry; do { for (int i = 0; i < blk->ins.n; ++i) { int t = blk->ins.p[i]; - struct instr *ins = &instrtab[t]; + Instr *ins = &instrtab[t]; if (oisalloca(ins->op)) { uint alignlog2 = ins->op - Oalloca1; assert(ins->l.i > 0); |