[wasm-gc] Don't only consider 7 bits of i33 values
When comparing a decoded i33 value (v) to an expected value (ex) given as a 7-bit unsigned byte, we first truncated (v) to 7 bits. This resulted in values which coincide with (ex) only in the last 7 digits to erroneously be accepted. Bug: v8:7748 Change-Id: Iaf40d5be7bbfa80535cec9109c7dd19a9d96edaf Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2526387 Commit-Queue: Manos Koukoutos <manoskouk@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#71091}
Showing
Please
register
or
sign in
to comment