summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
Diffstat (limited to 'lisc')
-rw-r--r--lisc/spill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/spill.c b/lisc/spill.c
index c4ca7a8..f963a1b 100644
--- a/lisc/spill.c
+++ b/lisc/spill.c
@@ -357,7 +357,7 @@ spill(Fn *fn)
 				if (BGET(v, j))
 					BCLR(v, j);
 				else
-					v = limit(&v, NReg-1, &w);
+					v = limit(&v, nreg-1, &w);
 				s = tmp[j].spill;
 				break;
 			case RReg: