mirror of
https://github.com/golang/go
synced 2024-11-22 16:54:48 -07:00
disambiguate error message
SVN=127152
This commit is contained in:
parent
c6e8e1cebf
commit
e9a194382e
@ -106,7 +106,7 @@ allocparams(void)
|
|||||||
t = funcfirst(&list, curfn->type);
|
t = funcfirst(&list, curfn->type);
|
||||||
while(t != T) {
|
while(t != T) {
|
||||||
if(d == D)
|
if(d == D)
|
||||||
fatal("allocparams: this nil");
|
fatal("allocparams: this & in nil");
|
||||||
if(d->op != ONAME) {
|
if(d->op != ONAME) {
|
||||||
d = d->forw;
|
d = d->forw;
|
||||||
continue;
|
continue;
|
||||||
@ -114,7 +114,7 @@ allocparams(void)
|
|||||||
|
|
||||||
n = d->dnode;
|
n = d->dnode;
|
||||||
if(n->class != PPARAM)
|
if(n->class != PPARAM)
|
||||||
fatal("allocparams: this class");
|
fatal("allocparams: this & in class");
|
||||||
|
|
||||||
n->xoffset = t->width;
|
n->xoffset = t->width;
|
||||||
d = d->forw;
|
d = d->forw;
|
||||||
@ -125,7 +125,7 @@ allocparams(void)
|
|||||||
while(t != T) {
|
while(t != T) {
|
||||||
if(t->nname != N && t->nname->sym->name[0] != '_') {
|
if(t->nname != N && t->nname->sym->name[0] != '_') {
|
||||||
if(d == D)
|
if(d == D)
|
||||||
fatal("allocparams: this nil");
|
fatal("allocparams: out nil");
|
||||||
if(d->op != ONAME) {
|
if(d->op != ONAME) {
|
||||||
d = d->forw;
|
d = d->forw;
|
||||||
continue;
|
continue;
|
||||||
@ -133,7 +133,7 @@ allocparams(void)
|
|||||||
|
|
||||||
n = d->dnode;
|
n = d->dnode;
|
||||||
if(n->class != PPARAM)
|
if(n->class != PPARAM)
|
||||||
fatal("allocparams: this class");
|
fatal("allocparams: out class");
|
||||||
|
|
||||||
n->xoffset = t->width;
|
n->xoffset = t->width;
|
||||||
d = d->forw;
|
d = d->forw;
|
||||||
|
Loading…
Reference in New Issue
Block a user