From: Shenghou Ma Date: Mon, 11 Aug 2014 21:11:31 +0000 (-0400) Subject: cmd/8g: fix build X-Git-Tag: go1.4beta1~856 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b5674a2b728d174bbd30be8e655b003528056d9f;p=gostls13.git cmd/8g: fix build Fixes #8510. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/129720043 --- diff --git a/src/cmd/8g/peep.c b/src/cmd/8g/peep.c index 35129a7c46..91a91d20db 100644 --- a/src/cmd/8g/peep.c +++ b/src/cmd/8g/peep.c @@ -636,9 +636,9 @@ copyu(Prog *p, Adr *v, Adr *s) static int copyas(Adr *a, Adr *v) { - if(D_AL <= a->type && a->type <= D_R15B) + if(D_AL <= a->type && a->type <= D_BL) fatal("use of byte register"); - if(D_AL <= v->type && v->type <= D_R15B) + if(D_AL <= v->type && v->type <= D_BL) fatal("use of byte register"); if(a->type != v->type)