summary refs log tree commit diff
path: root/rega.c
diff options
context:
space:
mode:
Diffstat (limited to 'rega.c')
-rw-r--r--rega.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rega.c b/rega.c
index ba405e5..7547293 100644
--- a/rega.c
+++ b/rega.c
@@ -605,6 +605,7 @@ rega(Fn *fn)
 			if (x > 0 && !bshas(m->b, x)) {
 				pmadd(TMP(x), TMP(r), tmp[t].cls);
 				m->r[j] = x;
+				bsset(m->b, x);
 			}
 		}
 		curi = &insb[NIns];