diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-02-27 12:01:44 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-02-27 12:01:48 -0500 |
commit | f151e426585ef86e3b4295bbe02f5c9072b58ea4 (patch) | |
tree | 1f4a4d3fb24ccba78dfdc041d0ef2a61a497bba3 /cfg.c | |
parent | 4c3c80e7e17e13ffc5a73d2563156d823c800b63 (diff) | |
download | roux-f151e426585ef86e3b4295bbe02f5c9072b58ea4.tar.gz |
remove unused parameter from uffind()
Diffstat (limited to 'cfg.c')
-rw-r--r-- | cfg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cfg.c b/cfg.c index 2f681ce..dff0765 100644 --- a/cfg.c +++ b/cfg.c @@ -280,13 +280,13 @@ fillloop(Fn *fn) } static void -uffind(Blk **pb, Blk **uf, Fn *fn) +uffind(Blk **pb, Blk **uf) { Blk **pb1; pb1 = &uf[(*pb)->id]; if (*pb1) { - uffind(pb1, uf, fn); + uffind(pb1, uf); *pb = *pb1; } } @@ -309,9 +309,9 @@ simpljmp(Fn *fn) } for (b=fn->start; b; b=b->link) { if (b->s1) - uffind(&b->s1, uf, fn); + uffind(&b->s1, uf); if (b->s2) - uffind(&b->s2, uf, fn); + uffind(&b->s2, uf); c = b->jmp.type - Jxjc; if (0 <= c && c <= NXICmp) if (b->s1 == b->s2) { |