diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-12 22:31:51 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-01-12 22:31:51 -0500 |
commit | 2b4ece6f99c18df090a127ec20c60ff05cbc0705 (patch) | |
tree | e8ef009433b47325520cd6b7f429409cccedce6b /ssa.c | |
parent | e38da51c14d9eaf8c53b58b3d2e33d7b37768f29 (diff) | |
download | roux-2b4ece6f99c18df090a127ec20c60ff05cbc0705.tar.gz |
use a less obtuse api for vnew()
Diffstat (limited to 'ssa.c')
-rw-r--r-- | ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |