-
Thibaud Michaud authored
Add an enum in the jump buffer to represent the state of the stack: active, suspended, or retired. Update the state on stack switch and check that they are consistent. The previous method relied on comparing the current stack pointer with the bounds of the stack, which was not reliable because the upper bound of the native stack is not known precisely. R=clemensb@chromium.org Bug: v8:13236 Change-Id: If1880aa3efd5a9dc03c3c52ac5315d369d886a50 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3870925 Commit-Queue: Thibaud Michaud <thibaudm@chromium.org> Reviewed-by: Victor Gomes <victorgomes@chromium.org> Reviewed-by: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#83017}
23feac78