projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c34c76
)
reflect: Correct error in conversion of s390x support to Go 1.4.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Thu, 15 Jan 2015 20:42:43 +0000
(20:42 +0000)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/libgo/go/reflect/makefuncgo_s390x.go
b/libgo/go/reflect/makefuncgo_s390x.go
index ea4c93e4f67e135bdd5459c0f579c17ada7ecc45..6e510156b34f41bb7332112208b3bcb635283d87 100644
(file)
--- a/
libgo/go/reflect/makefuncgo_s390x.go
+++ b/
libgo/go/reflect/makefuncgo_s390x.go
@@
-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(