reflect: Correct error in conversion of s390x support to Go 1.4.
From-SVN: r219685
This commit is contained in:
parent
6c34c761d2
commit
4c16468417
|
@ -320,7 +320,7 @@ argloop:
|
||||||
switch v.Kind() {
|
switch v.Kind() {
|
||||||
case Ptr, UnsafePointer, Chan, Func, Map:
|
case Ptr, UnsafePointer, Chan, Func, Map:
|
||||||
w = uintptr(v.pointer())
|
w = uintptr(v.pointer())
|
||||||
} else {
|
default:
|
||||||
memmove(unsafe.Pointer(&w), v.ptr, v.typ.size)
|
memmove(unsafe.Pointer(&w), v.ptr, v.typ.size)
|
||||||
if ret_off_reg != 0 {
|
if ret_off_reg != 0 {
|
||||||
w = s390xReloadForRegister(
|
w = s390xReloadForRegister(
|
||||||
|
|
Loading…
Reference in New Issue