]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: fix method value closures on nacl amd64p32
authorRuss Cox <rsc@golang.org>
Wed, 28 May 2014 03:58:36 +0000 (23:58 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 28 May 2014 03:58:36 +0000 (23:58 -0400)
commit6c0bcb1863fbc84447590226911db9baab7a5c97
tree969199b9ad45e95a2d87dff665a6ec63c8cce3e5
parenteeb87c3660932cb0dcc6db2e3784a66b6d06a82a
cmd/gc: fix method value closures on nacl amd64p32

The code was assuming that pointer alignment is the
maximum alignment, but on NaCl uint64 alignment is
even more strict.

Brad checked in the test earlier today; this fixes the build.

Fixes #7863.

TBR=iant
CC=golang-codereviews
https://golang.org/cl/98630046
src/cmd/gc/closure.c
src/cmd/gc/dcl.c