reflect: Correct error in conversion of s390x support to Go 1.4.

From-SVN: r219685
This commit is contained in:
Ian Lance Taylor 2015-01-15 20:42:43 +00:00
parent 6c34c761d2
commit 4c16468417
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ argloop:
switch v.Kind() {
case Ptr, UnsafePointer, Chan, Func, Map:
w = uintptr(v.pointer())
} else {
default:
memmove(unsafe.Pointer(&w), v.ptr, v.typ.size)
if ret_off_reg != 0 {
w = s390xReloadForRegister(