• Ross McIlroy's avatar
    [LiveEdit] Disable bytecode flushing on liveedit. · 2dd21c33
    Ross McIlroy authored
    If liveedit patches a script there might be a mismatch between
    the bytecode on a stackframe and the bytecode on the JSFunction
    for that same frame. This allows the patched bytecode on the
    JSFunction to be flushed which breaks the invariant that all
    JSFunctions with live stack activations are compiled. To prevent
    this disable bytecode flushing when liveedit patches a script.
    
    BUG=v8:11445
    
    Change-Id: I79e7403dfb6dfc317d4313f8cab5118b12c67ed9
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2775577
    Auto-Submit: Ross McIlroy <rmcilroy@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73559}
    2dd21c33
liveedit.cc 48.1 KB