• clemensh's avatar
    [wasm] Fix importing wasm functions which are being debugged · eb36a7db
    clemensh authored
    If the imported wasm function is being debugged (i.e. redirects to the
    interpreter), call it via the JS_TO_WASM stub, such that we can disable
    the breakpoint later by patching the exported function.
    
    This also contains a drive-by fix in wasm-translation.cc (for the case
    that all known positions are bigger than the requested one).
    
    R=titzer@chromium.org, kozyatinskiy@chromium.org
    BUG=v8:5971, v8:5822
    
    Review-Url: https://codereview.chromium.org/2720813002
    Cr-Commit-Position: refs/heads/master@{#43583}
    eb36a7db
Name
Last commit
Last update
..
OWNERS Loading commit data...
decoder.h Loading commit data...
function-body-decoder-impl.h Loading commit data...
function-body-decoder.cc Loading commit data...
function-body-decoder.h Loading commit data...
leb-helper.h Loading commit data...
module-decoder.cc Loading commit data...
module-decoder.h Loading commit data...
signature-map.cc Loading commit data...
signature-map.h Loading commit data...
wasm-code-specialization.cc Loading commit data...
wasm-code-specialization.h Loading commit data...
wasm-debug.cc Loading commit data...
wasm-external-refs.cc Loading commit data...
wasm-external-refs.h Loading commit data...
wasm-interpreter.cc Loading commit data...
wasm-interpreter.h Loading commit data...
wasm-js.cc Loading commit data...
wasm-js.h Loading commit data...
wasm-limits.h Loading commit data...
wasm-macro-gen.h Loading commit data...
wasm-module-builder.cc Loading commit data...
wasm-module-builder.h Loading commit data...
wasm-module.cc Loading commit data...
wasm-module.h Loading commit data...
wasm-objects.cc Loading commit data...
wasm-objects.h Loading commit data...
wasm-opcodes.cc Loading commit data...
wasm-opcodes.h Loading commit data...
wasm-result.cc Loading commit data...
wasm-result.h Loading commit data...
wasm-text.cc Loading commit data...
wasm-text.h Loading commit data...