From e9a194382e5502e8948e67721bdb5484b35b438f Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Mon, 14 Jul 2008 20:54:16 -0700 Subject: [PATCH] disambiguate error message SVN=127152 --- src/cmd/6g/gen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cmd/6g/gen.c b/src/cmd/6g/gen.c index a487d13c6f4..bc682fa4491 100644 --- a/src/cmd/6g/gen.c +++ b/src/cmd/6g/gen.c @@ -106,7 +106,7 @@ allocparams(void) t = funcfirst(&list, curfn->type); while(t != T) { if(d == D) - fatal("allocparams: this nil"); + fatal("allocparams: this & in nil"); if(d->op != ONAME) { d = d->forw; continue; @@ -114,7 +114,7 @@ allocparams(void) n = d->dnode; if(n->class != PPARAM) - fatal("allocparams: this class"); + fatal("allocparams: this & in class"); n->xoffset = t->width; d = d->forw; @@ -125,7 +125,7 @@ allocparams(void) while(t != T) { if(t->nname != N && t->nname->sym->name[0] != '_') { if(d == D) - fatal("allocparams: this nil"); + fatal("allocparams: out nil"); if(d->op != ONAME) { d = d->forw; continue; @@ -133,7 +133,7 @@ allocparams(void) n = d->dnode; if(n->class != PPARAM) - fatal("allocparams: this class"); + fatal("allocparams: out class"); n->xoffset = t->width; d = d->forw;