From: Ken Thompson Date: Mon, 28 Jun 2010 19:19:12 +0000 (-0700) Subject: 8g compiler missing call to splitclean(). X-Git-Tag: weekly.2010-07-01~49 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e5d748a333cf83cb4b510e45687b2f62fe6626ae;p=gostls13.git 8g compiler missing call to splitclean(). fixes #887. R=rsc CC=golang-dev https://golang.org/cl/1675050 --- diff --git a/src/cmd/8g/cgen.c b/src/cmd/8g/cgen.c index cd70f5e17f..8fbdc6ee72 100644 --- a/src/cmd/8g/cgen.c +++ b/src/cmd/8g/cgen.c @@ -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); }