From bfb60b8a33fef3c786afdb8c885f69805f24c074 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 8 Jan 1987 14:09:14 +0000 Subject: [PATCH] small adaption to "awayreg". --- mach/proto/cg/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mach/proto/cg/reg.c b/mach/proto/cg/reg.c index bc94e896f..b9db3a4c5 100644 --- a/mach/proto/cg/reg.c +++ b/mach/proto/cg/reg.c @@ -99,7 +99,7 @@ awayreg(regno) { if (rp->r_contents.t_token == -1) { if (rp->r_contents.t_att[0].ar == regno) erasereg(rp-machregs); - } else { + } else if (rp->r_contents.t_token > 0) { tdp= & tokens[rp->r_contents.t_token]; for (i=0;it_type[i] == EV_REG && -- 2.34.1