summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--spill.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/spill.c b/spill.c
index f478557..77c4fbe 100644
--- a/spill.c
+++ b/spill.c
@@ -391,6 +391,9 @@ spill(Fn *fn)
 			r = retregs(b->jmp.arg, 0);
 			v->t[0] |= r;
 		}
+		for (t=Tmp0; bsiter(b->out, &t); t++)
+			if (!bshas(v, t))
+				slot(t);
 		bscopy(b->out, v);
 
 		/* 2. process the block instructions */