[wasm][interpreter] Check for shared memory in atomic.wait
For atomic.wait we have to check in generated code if the memory is shared. If not, the code has to trap. In compiled code, this is done in the runtime function. In the interpreter, however, this check was missing. This CL adds the check to the interpreter. R=thibaudm@chromium.org Bug: chromium:1144603 Change-Id: If897e3f10b404ff677341ee14ad9eda7f5e64d16 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2512922Reviewed-by: Thibaud Michaud <thibaudm@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/master@{#70948}
Showing
Please
register
or
sign in
to comment