reflect: expose reflect.call argument slice to the garbage collector
The argument slice was kept hidden from the garbage collector by destroying its referent in an unsafe.Pointer to uintptr conversion. This change preserves the unsafe.Pointer referent and only performs an unsafe.Pointer to uintptr conversions within expressions that construct new unsafe.Pointer values. R=golang-dev, khr, rsc CC=golang-dev https://golang.org/cl/14008043
Showing
Please register or sign in to comment