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-by: Than McIntosh <>
Reviewed-by: Cherry Zhang <>
1 file changed