diff options
| author | Srinivas Pokala <Pokala.Srinivas@ibm.com> | 2025-11-11 05:07:49 +0100 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2025-11-24 10:22:03 -0800 |
| commit | 2a185fae7e9a3905ff9a96c44a0d6aac6c8aeb03 (patch) | |
| tree | c2bc914d7e3007a4b0884300444977e9229741d1 /src/runtime | |
| parent | e92d2964fa5beb678ecd97036eb732c9f885cf63 (diff) | |
| download | go-2a185fae7e9a3905ff9a96c44a0d6aac6c8aeb03.tar.xz | |
reflect, runtime: add reflect support for regabi on s390x
This adds the regabi support needed for reflect calls
makeFuncSub and methodValueCall. Also, It add's archFloat32FromReg
and archFloat32ToReg.
Update #40724
Change-Id: Ic4b9e30c82f292a24fd2c2b9796cd80a58cecf77
Reviewed-on: https://go-review.googlesource.com/c/go/+/719480
Reviewed-by: Vishwanatha HD <vishwanatha.hd@ibm.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/stkframe.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stkframe.go b/src/runtime/stkframe.go index 819b7f6c7d..d6e7e0371c 100644 --- a/src/runtime/stkframe.go +++ b/src/runtime/stkframe.go @@ -234,7 +234,7 @@ func (frame *stkframe) getStackMap(debug bool) (locals, args bitvector, objs []s } // stack objects. - if (GOARCH == "amd64" || GOARCH == "arm64" || GOARCH == "loong64" || GOARCH == "ppc64" || GOARCH == "ppc64le" || GOARCH == "riscv64") && + if (GOARCH == "amd64" || GOARCH == "arm64" || GOARCH == "loong64" || GOARCH == "ppc64" || GOARCH == "ppc64le" || GOARCH == "riscv64" || GOARCH == "s390x") && unsafe.Sizeof(abi.RegArgs{}) > 0 && isReflect { // For reflect.makeFuncStub and reflect.methodValueCall, // we need to fake the stack object record. |
