]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.22] internal/bytealg: extend memchr result correctly on wasm
authorZxilly <zxilly@outlook.com>
Wed, 17 Jul 2024 05:34:55 +0000 (05:34 +0000)
committerCherry Mui <cherryyz@google.com>
Wed, 17 Jul 2024 19:23:53 +0000 (19:23 +0000)
commit9e148a4150ece0c24e60197893c8821b2c67e151
tree144f7b210156fa40309707ddc169aed16aeeca6d
parent4b27560db937aa104753a96bf011d7f13c4aedc3
[release-branch.go1.22] internal/bytealg: extend memchr result correctly on wasm

The mem address should be regarded as uint32.

Fixes #68475

Change-Id: Icee38d11f2d93eeca7d50b2e133159e321daeb90
GitHub-Last-Rev: c2568b104369bcf5c4d42c6281d235a52bb9675f
GitHub-Pull-Request: golang/go#68400
Reviewed-on: https://go-review.googlesource.com/c/go/+/597955
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
(cherry picked from commit 90c6558b6acef5a9b9fb8f3c35cff58423c8b00e)
Reviewed-on: https://go-review.googlesource.com/c/go/+/598975
src/bytes/bytes_js_wasm_test.go [new file with mode: 0644]
src/internal/bytealg/indexbyte_wasm.s