diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-09-02 12:08:52 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-10-03 10:41:30 +0200 |
commit | 70f297bab7ae5d7291040b0305281a5fa8289f80 (patch) | |
tree | 85305108a954e2c21f16c3e529cf5fab7a189a77 /ssa.c | |
parent | 79f3673d205617ac567f0566ebf8f450932d9976 (diff) | |
download | roux-70f297bab7ae5d7291040b0305281a5fa8289f80.tar.gz |
fix case of Pool constants
Diffstat (limited to 'ssa.c')
-rw-r--r-- | ssa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssa.c b/ssa.c index 126113d..f3e9b45 100644 --- a/ssa.c +++ b/ssa.c @@ -54,7 +54,7 @@ filluse(Fn *fn) tmp[t].phi = 0; tmp[t].width = WFull; if (tmp[t].use == 0) - tmp[t].use = vnew(0, sizeof(Use), Pfn); + tmp[t].use = vnew(0, sizeof(Use), PFn); } for (b=fn->start; b; b=b->link) { for (p=b->phi; p; p=p->link) { @@ -183,8 +183,8 @@ phiins(Fn *fn) p->cls = k; p->to = TMP(t); p->link = a->phi; - p->arg = vnew(0, sizeof p->arg[0], Pfn); - p->blk = vnew(0, sizeof p->blk[0], Pfn); + p->arg = vnew(0, sizeof p->arg[0], PFn); + p->blk = vnew(0, sizeof p->blk[0], PFn); a->phi = p; if (!bshas(defs, a->id)) if (!bshas(u, a->id)) { |