• clemensh's avatar
    [wasm] Instantiate the interpreter on demand · eb04a25f
    clemensh authored
    If a breakpoint is set on a wasm function, compile an interpreter entry
    stub for it, and replace all calls to the original function by calls to
    this interpreter entry.
    Also, instantiate a wasm interpreter object on demand and set the
    breakpoint there.
    
    R=titzer@chromium.org
    BUG=v8:5822
    
    Review-Url: https://codereview.chromium.org/2625093004
    Cr-Commit-Position: refs/heads/master@{#42309}
    eb04a25f
wasm-debug.cc 10.7 KB