if(n->ullman >= ns->ullman) {
agenr(n, &nodr, N);
- if(ns->op == ONAME && ns->class != PEXTERN)
+ if(ns->op == ONAME)
gvardef(ns);
agenr(ns, &nodl, N);
} else {
- if(ns->op == ONAME && ns->class != PEXTERN)
+ if(ns->op == ONAME)
gvardef(ns);
agenr(ns, &nodl, N);
agenr(n, &nodr, N);
switch(nl->type->etype) {
case TARRAY:
// componentgen for arrays.
- if(nl->op == ONAME && nl->class != PEXTERN)
+ if(nl->op == ONAME)
gvardef(nl);
t = nl->type;
if(!isslice(t)) {
goto yes;
case TSTRING:
- if(nl->op == ONAME && nl->class != PEXTERN)
+ if(nl->op == ONAME)
gvardef(nl);
nodl.xoffset += Array_array;
nodl.type = ptrto(types[TUINT8]);
goto yes;
case TINTER:
- if(nl->op == ONAME && nl->class != PEXTERN)
+ if(nl->op == ONAME)
gvardef(nl);
nodl.xoffset += Array_array;
nodl.type = ptrto(types[TUINT8]);
goto yes;
case TSTRUCT:
- if(nl->op == ONAME && nl->class != PEXTERN)
+ if(nl->op == ONAME)
gvardef(nl);
loffset = nodl.xoffset;
roffset = nodr.xoffset;
switch(nl->type->etype) {
case TARRAY:
- if(nl->op == ONAME && nl->class != PEXTERN)
+ if(nl->op == ONAME)
gvardef(nl);
nodl.xoffset += Array_array;
nodl.type = ptrto(nl->type->type);
goto yes;
case TSTRING:
- if(nl->op == ONAME && nl->class != PEXTERN)
+ if(nl->op == ONAME)
gvardef(nl);
nodl.xoffset += Array_array;
nodl.type = ptrto(types[TUINT8]);
goto yes;
case TINTER:
- if(nl->op == ONAME && nl->class != PEXTERN)
+ if(nl->op == ONAME)
gvardef(nl);
nodl.xoffset += Array_array;
nodl.type = ptrto(types[TUINT8]);