• Clemens Hammacher's avatar
    [wasm] Set and reset the ThreadInWasm flag in interpreter entry · 09369c5e
    Clemens Hammacher authored
    The wasm interpreter entry is only called from wasm code. Hence the
    flag is cleared unconditinally before executing in the interpreter.
    Note that the interpreter does not use trap handling. It can on the
    other hand call to JS functions, hence the flag should not be set while
    executing in the interpreter.
    The flag is reset when returning from the interpreter.
    
    This CL avoids test failures in follow-up CLs which emerged after
    rebasing on the trap handler CL of eholk.
    
    R=titzer@chromium.org, ahaas@chromium.org
    CC=eholk@chromium.org
    BUG=v8:5822, v8:5277
    
    Change-Id: I8106e3a92bd9fd6159c785a718bed2d23cb3d593
    Reviewed-on: https://chromium-review.googlesource.com/454676
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43801}
    09369c5e
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles 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...
.gitignore Loading commit data...
.gn 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...
Makefile Loading commit data...
Makefile.android 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...