[wasm-gc] Don't sign-extend indices for array accesses
We treat array indices as unsigned, so we should use `ChangeUint32ToUint64` before using them for computing memory offsets on 64-bit platforms. The signed version is currently an inefficiency; if we actually allowed arrays of such huge sizes, it would become a bug. Bug: v8:7748 Change-Id: I5c89ef82755a9987c4e5a8c9b3b630534bb3424f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3440661 Auto-Submit: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Manos Koukoutos <manoskouk@chromium.org> Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Cr-Commit-Position: refs/heads/main@{#78993}
Showing
Please
register
or
sign in
to comment