gofrontend: avoid use of unsafe.Sizeof extension
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 17 Apr 2014 23:13:39 +0000 (23:13 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 17 Apr 2014 23:13:39 +0000 (23:13 +0000)
commite315e8a5b9386a91adf31910760da6cc1b9ca487
tree4ed3d357f795efbd0d8b9aed66dc4951691f0a2e
parent342e7873442fd9cb0f50f45f500911e44a6f159d
gofrontend: avoid use of unsafe.Sizeof extension

Avoid the use of a gccgo language extension which allows unsafe.Sizeof
to accept a type by passing an expression of the relevant type.

From-SVN: r209503
libgo/go/syscall/libcall_posix.go