mirror of
https://github.com/golang/go
synced 2024-11-24 10:00:12 -07:00
8g compiler missing call to splitclean().
fixes #887. R=rsc CC=golang-dev https://golang.org/cl/1675050
This commit is contained in:
parent
33da9afc3e
commit
e5d748a333
@ -453,10 +453,13 @@ cgenindex(Node *n, Node *res)
|
|||||||
cgen(n, &tmp);
|
cgen(n, &tmp);
|
||||||
split64(&tmp, &lo, &hi);
|
split64(&tmp, &lo, &hi);
|
||||||
gmove(&lo, res);
|
gmove(&lo, res);
|
||||||
if(debug['B'])
|
if(debug['B']) {
|
||||||
|
splitclean();
|
||||||
return nil;
|
return nil;
|
||||||
|
}
|
||||||
nodconst(&zero, types[TINT32], 0);
|
nodconst(&zero, types[TINT32], 0);
|
||||||
gins(ACMPL, &hi, &zero);
|
gins(ACMPL, &hi, &zero);
|
||||||
|
splitclean();
|
||||||
return gbranch(AJNE, T);
|
return gbranch(AJNE, T);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user