Commit e5d748a3 authored by Ken Thompson's avatar Ken Thompson

8g compiler missing call to splitclean().

fixes #887.

R=rsc
CC=golang-dev
https://golang.org/cl/1675050
parent 33da9afc
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment