Commit 2b77ca20 authored by Thibaud Michaud's avatar Thibaud Michaud Committed by V8 LUCI CQ
Browse files

[wasm][liftoff] Always zero-extend 32 bit offsets

The upper 32 bits of the 64 bit offset register are not guaranteed to be
cleared, so a zero-extension is needed. We already do the zero-extension
in the case of explicit bounds checking, but this should also be done if
the trap handler is enabled.

R=clemensb@chromium.org
CC=jkummerow@chromium.org

Bug: v8:11809
Change-Id: I21e2535c701041d11fa06c176fa683d82db0a3f1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2917612


Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Reviewed-by: default avatarClemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74881}
parent def58d04
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment