mirror of
https://github.com/golang/go
synced 2024-11-12 07:10:22 -07:00
6g: fix registerization of temporaries
Use correct range in allocated register test. R=rsc, ken2 CC=golang-dev https://golang.org/cl/4073049
This commit is contained in:
parent
e71d8a2fe4
commit
e6a934a1d9
@ -246,7 +246,7 @@ anyregalloc(void)
|
||||
{
|
||||
int i, j;
|
||||
|
||||
for(i=D_AL; i<=D_DI; i++) {
|
||||
for(i=D_AX; i<=D_R15; i++) {
|
||||
if(reg[i] == 0)
|
||||
goto ok;
|
||||
for(j=0; j<nelem(resvd); j++)
|
||||
|
Loading…
Reference in New Issue
Block a user