From: Kyle Consalus Date: Thu, 26 Aug 2010 22:46:56 +0000 (-0400) Subject: gc: brace nit from last review X-Git-Tag: weekly.2010-09-06~69 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e24910d09bf67286283c2dff6b7947f3c72f98c0;p=gostls13.git gc: brace nit from last review R=rsc CC=golang-dev https://golang.org/cl/1997045 --- diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index ec0b869fca..a84f04e2af 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))