8000 [release-branch.go1.3] cmd/8g: fix build · golang/go@31f2f8d · GitHub
[go: up one dir, main page]

Skip to content

Commit 31f2f8d

Browse files
committed
[release-branch.go1.3] cmd/8g: fix build
««« 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
1 parent c6f639c commit 31f2f8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/8g/peep.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,9 @@ copyu(Prog *p, Adr *v, Adr *s)
634634
static int
635635
copyas(Adr *a, Adr *v)
636636
{
637-
if(D_AL <= a->type && a->type <= D_R15B)
637+
if(D_AL <= a->type && a->type <= D_BL)
638638
fatal("use of byte register");
639-
if(D_AL <= v->type && v->type <= D_R15B)
639+
if(D_AL <= v->type && v->type <= D_BL)
640640
fatal("use of byte register");
641641

642642
if(a->type != v->type)

0 commit comments

Comments
 (0)
0