| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| all_test.go | ||
| deepequal.go | ||
| example_test.go | ||
| export_test.go | ||
| makefunc.go | ||
| makefunc_ffi.go | ||
| makefunc_ffi_c.c | ||
| set_test.go | ||
| swapper.go | ||
| tostring_test.go | ||
| type.go | ||
| value.go |
PR go/91781
reflect: promote integer closure return to full word
The libffi library expects an integer return type to be promoted to a
full word. Implement that when returning from a closure written in Go.
This only matters on big-endian systems when returning an integer smaller
than the pointer size, which is why we didn't notice it until now.
Fixes https://gcc.gnu.org/PR91781.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/195858
From-SVN: r275813
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| all_test.go | Loading commit data... | |
| deepequal.go | Loading commit data... | |
| example_test.go | Loading commit data... | |
| export_test.go | Loading commit data... | |
| makefunc.go | Loading commit data... | |
| makefunc_ffi.go | Loading commit data... | |
| makefunc_ffi_c.c | Loading commit data... | |
| set_test.go | Loading commit data... | |
| swapper.go | Loading commit data... | |
| tostring_test.go | Loading commit data... | |
| type.go | Loading commit data... | |
| value.go | Loading commit data... |