]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.3] cmd/8g: fix build
authorAndrew Gerrand <adg@golang.org>
Tue, 12 Aug 2014 05:51:47 +0000 (15:51 +1000)
committerAndrew Gerrand <adg@golang.org>
Tue, 12 Aug 2014 05:51:47 +0000 (15:51 +1000)
««« 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

index f902674ecaf95a66e442c65654b7aa5af74ace21..e2f3a003d35b3f45a5970425c753e22f036878ca 100644 (file)
@@ -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)