summary refs log tree commit diff
path: root/live.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2022-03-08 15:33:21 +0100
committerQuentin Carbonneaux <quentin@c9x.me>2022-03-08 15:36:26 +0100
commit349794f3e4f11e4cc34a501ba935a2a305229738 (patch)
tree3e858a2d3dbf8b4ad43cc5f2f40a8790b37b99b6 /live.c
parent3d294346ab168fd0b12761711fbe667e47fd644e (diff)
downloadroux-349794f3e4f11e4cc34a501ba935a2a305229738.tar.gz
cosmetics
Diffstat (limited to 'live.c')
-rw-r--r--live.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/live.c b/live.c
index 4198995..a1b4219 100644
--- a/live.c
+++ b/live.c
@@ -103,7 +103,7 @@ Again:
 			if (!req(i->to, R)) {
 				assert(rtype(i->to) == RTmp);
 				t = i->to.val;
-				if (bshas(b->in, i->to.val))
+				if (bshas(b->in, t))
 					nlv[KBASE(f->tmp[t].cls)]--;
 				bsset(b->gen, t);
 				bsclr(b->in, t);