From e24910d09bf67286283c2dff6b7947f3c72f98c0 Mon Sep 17 00:00:00 2001 From: Kyle Consalus Date: Thu, 26 Aug 2010 18:46:56 -0400 Subject: [PATCH] gc: brace nit from last review R=rsc CC=golang-dev https://golang.org/cl/1997045 --- src/cmd/gc/subr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)) -- 2.50.0