From: ceriel Date: Thu, 8 Jan 1987 14:09:14 +0000 (+0000) Subject: small adaption to "awayreg". X-Git-Tag: release-5-5~5038 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=bfb60b8a33fef3c786afdb8c885f69805f24c074;p=ack.git small adaption to "awayreg". --- 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 &&