• 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
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...