runtime: correct runtime structfield type to match reflect
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 6 Feb 2018 15:18:50 +0000 (15:18 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 6 Feb 2018 15:18:50 +0000 (15:18 +0000)
commitc88893a0da8fd01f20b4e254f706f054a72fc435
treefb04c3aa403bdf247afafcc485c9fe87cf71fd3b
parent43fbc2e9c46ad20a9566cc85f12ac24021f19ad3
runtime: correct runtime structfield type to match reflect

    The offset field in structfield has changed to offsetAnon, and now
    requires a shift to get the actual offset value.

    Fixes golang/go#23391

    Reviewed-on: https://go-review.googlesource.com/92275

From-SVN: r257413
gcc/go/gofrontend/MERGE
libgo/go/runtime/cgocall.go
libgo/go/runtime/type.go