1
0
mirror of https://github.com/golang/go synced 2024-11-25 06:57:58 -07:00

gc: brace nit from last review

R=rsc
CC=golang-dev
https://golang.org/cl/1997045
This commit is contained in:
Kyle Consalus 2010-08-26 18:46:56 -04:00 committed by Russ Cox
parent b279c048e3
commit e24910d09b

View File

@ -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))