[wasm] Fix partially initialized object during GC
A GC can happen while we allocate the resume callback, and before the suspender is fully initialized. We cannot just change the order of allocation, because they both reference each other. So temporarily set a default value for the "resume" property to make the GC happy. R=jkummerow@chromium.org Bug: v8:12803 Change-Id: Ieecc5182b8dcf7a159713c9400d65da59c4b2af6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3586989Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Thibaud Michaud <thibaudm@chromium.org> Cr-Commit-Position: refs/heads/main@{#80027}
Showing
Please
register
or
sign in
to comment