From 31f2f8d62441206136943740681b7cefc7a4eb14 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 12 Aug 2014 15:51:47 +1000 Subject: [release-branch.go1.3] cmd/8g: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ««« CL 129720043 / 0449858880be cmd/8g: fix build Fixes #8510. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/129720043 »»» TBR=rsc CC=golang-codereviews https://golang.org/cl/129760043 --- src/cmd/8g/peep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/8g/peep.c b/src/cmd/8g/peep.c index f902674eca..e2f3a003d3 100644 --- a/src/cmd/8g/peep.c +++ b/src/cmd/8g/peep.c @@ -634,9 +634,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) -- cgit v1.2.3-54-g00ecf