From b5674a2b728d174bbd30be8e655b003528056d9f Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Mon, 11 Aug 2014 17:11:31 -0400 Subject: [PATCH] cmd/8g: fix build Fixes #8510. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/129720043 --- 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 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) -- 2.48.1