• Clemens Hammacher's avatar
    [wasm] Disable trap handlers within the same NativeModule · d5007545
    Clemens Hammacher authored
    The current implementation allocates a new {NativeModule} if trap
    handlers are disabled. Afterwards, all export wrappers need to be
    patched to call to the code objects in this new native module (this
    patching is done in {CodeSpecialization}).
    With the jump table, we want to get rid of this patching, hence we need
    to reuse the same jump table, hence we cannot allocate a new
    {NativeModule}. Instead, we should update the existing one with the new
    code.
    
    R=mstarzinger@chromium.org
    CC=eholk@chromium.org
    
    Bug: v8:7143, v8:7758
    Change-Id: If2f395d462752b9084ed1e5f0a81f71d400ccfca
    Reviewed-on: https://chromium-review.googlesource.com/1095262Reviewed-by: 's avatarEric Holk <eholk@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#53645}
    d5007545
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
custom_deps Loading commit data...
docs Loading commit data...
gni Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...