diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index ec0b869fca6..a84f04e2afd 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -477,11 +477,10 @@ algtype(Type *t) if(issimple[t->etype] || isptr[t->etype] || iscomplex[t->etype] || t->etype == TCHAN || t->etype == TFUNC || t->etype == TMAP) { - if (t->width == widthptr) { + if(t->width == widthptr) a = AMEMWORD; - } else { + else a = AMEM; // just bytes (int, ptr, etc) - } } else if(t->etype == TSTRING) a = ASTRING; // string else if(isnilinter(t))