1
0
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:
Ken Thompson 2010-06-28 12:19:12 -07:00
parent 33da9afc3e
commit e5d748a333

View File

@ -453,10 +453,13 @@ cgenindex(Node *n, Node *res)
cgen(n, &tmp);
split64(&tmp, &lo, &hi);
gmove(&lo, res);
if(debug['B'])
if(debug['B']) {
splitclean();
return nil;
}
nodconst(&zero, types[TINT32], 0);
gins(ACMPL, &hi, &zero);
splitclean();
return gbranch(AJNE, T);
}