mirror of
https://github.com/golang/go
synced 2024-11-12 09:20:22 -07:00
cmd/8g: fix build
Fixes #8510. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/129720043
This commit is contained in:
parent
4769f87e0d
commit
b5674a2b72
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user