reflect: Correct error in conversion of s390x support to Go 1.4.
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 15 Jan 2015 20:42:43 +0000 (20:42 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 15 Jan 2015 20:42:43 +0000 (20:42 +0000)
From-SVN: r219685

libgo/go/reflect/makefuncgo_s390x.go

index ea4c93e4f67e135bdd5459c0f579c17ada7ecc45..6e510156b34f41bb7332112208b3bcb635283d87 100644 (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(