summary refs log tree commit diff
path: root/ssa.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2022-09-02 12:08:52 +0200
committerQuentin Carbonneaux <quentin@c9x.me>2022-10-03 10:41:30 +0200
commit70f297bab7ae5d7291040b0305281a5fa8289f80 (patch)
tree85305108a954e2c21f16c3e529cf5fab7a189a77 /ssa.c
parent79f3673d205617ac567f0566ebf8f450932d9976 (diff)
downloadroux-70f297bab7ae5d7291040b0305281a5fa8289f80.tar.gz
fix case of Pool constants
Diffstat (limited to 'ssa.c')
-rw-r--r--ssa.c6
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)) {