diff options
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/spill.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lisc/spill.c b/lisc/spill.c index 6e63689..26b1c5a 100644 --- a/lisc/spill.c +++ b/lisc/spill.c @@ -234,13 +234,11 @@ spill(Fn *fn) k = 4 - !req(b->jmp.arg, R); v = (Bits){{0}}; hd = 0; - if (s1) { - if (s1->id <= n) - hd = s1; - if (s2 && s2->id <= n) - if (!hd || s2->id >= hd->id) - hd = s2; - } + if (s1 && s1->id <= n) + hd = s1; + if (s2 && s2->id <= n) + if (!hd || s2->id >= hd->id) + hd = s2; if (hd) { /* back-edge */ pl = hd->nlive; |