diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-23 16:53:30 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-23 16:53:37 -0500 |
commit | 56fc8bfe5cc882683ffc9a87a01591c7fdc72e71 (patch) | |
tree | 78292fd40e55e697ccfa25112d91b62239479329 /lisc | |
parent | b871c261a1d998f663085577bc2810b4df4724c8 (diff) | |
download | roux-56fc8bfe5cc882683ffc9a87a01591c7fdc72e71.tar.gz |
purify test logic in liveness
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/live.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisc/live.c b/lisc/live.c index eb3d16b..3718642 100644 --- a/lisc/live.c +++ b/lisc/live.c @@ -114,9 +114,8 @@ Again: for (k=0; k<2; k++) b->nlive[k] = nlv[k]; for (i=&b->ins[b->nins]; i!=b->ins;) { - if ((--i)->op == OCall) - ; - if (rtype(i->arg[1]) == RACall) { + if ((--i)->op == OCall + && rtype(i->arg[1]) == RACall) { b->in.t[0] &= ~calldef(*i, m); for (k=0; k<2; k++) nlv[k] -= m[k]; |