• Leszek Swirski's avatar
    [ignition/sparkplug] Fix folded interrupt check · ef17601f
    Leszek Swirski authored
    Change the folded interrupt check to be on JumpLoop only, to avoid
    calling it from Return. The call from Return could cause spurious stack
    overflows, which interacted poorly with async functions that had already
    resolved their promise.
    
    Now the bytecode budget interrupt function is split into two functions,
    one which does the stack check and one which doesn't. The former is
    still called from JumpLoop, the latter is called from Return.
    
    Bug: chromium:1231952, chromium:1232105
    Change-Id: I8c4e2937f64b5f8fdbd6c1fcb2a76ec5f090ae3c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3049076Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75891}
    ef17601f
runtime.h 38.1 KB