From 2b4ece6f99c18df090a127ec20c60ff05cbc0705 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Thu, 12 Jan 2017 22:31:51 -0500 Subject: use a less obtuse api for vnew() --- ssa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssa.c') diff --git a/ssa.c b/ssa.c index a040484..c0c340c 100644 --- a/ssa.c +++ b/ssa.c @@ -52,7 +52,7 @@ filluse(Fn *fn) tmp[t].phi = 0; tmp[t].cls = 0; if (tmp[t].use == 0) - tmp[t].use = vnew(0, sizeof(Use), alloc); + tmp[t].use = vnew(0, sizeof(Use), Pfn); } for (b=fn->start; b; b=b->link) { for (p=b->phi; p; p=p->link) { -- cgit 1.4.1