commit | 09ca3c1ea8a52b5d3d6c4331c59d44e0b6bfab57 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon Sep 16 22:15:31 2019 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Sep 17 20:25:49 2019 +0000 |
tree | 28f5b378a31a63553218d7f5aae665c3b70f24a6 | |
parent | 7aabaf8623cf88e2378057476a034093abbe5aab [diff] |
runtime: for FFI, treat directIface types as pointers This only matters on systems that pass a struct with a single pointer field differently than passing a single pointer. I noticed it on 32-bit PPC, where the reflect package TestDirectIfaceMethod failed. Change-Id: I7f1459cc41323202f7f54499b6938d1bacc38d1f Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/195878 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>