• Manos Koukoutos's avatar
    [wasm][refactor] Simplify/unify parts of the function decoder · c4113c47
    Manos Koukoutos authored
    Changes:
    - Remove TypeCheckBranchResult. Change TypeCheckBranch() to return bool.
      Refactor call sites to reflect this (decouple current code
      reachability check from type check).
    - Unify TypeCheckBranch(), TypeCheckFallthrough(), and the type-checking
      part of Return() into TypeCheckStackAgainstMerge().
    - Make sure all TypeCheck* functions are only called within VALIDATE.
    - In graph-builder-interface, rename end_env -> merge_env to reflect
      its function for loops.
    - Change expected error messages in some tests.
    
    Change-Id: I857edc18db9c2454ad12d539ffe7a10e96367710
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2839560Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#74100}
    c4113c47
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
control-transfer-unittest.cc Loading commit data...
decoder-unittest.cc Loading commit data...
function-body-decoder-unittest.cc Loading commit data...
leb-helper-unittest.cc Loading commit data...
liftoff-register-unittests.cc Loading commit data...
loop-assignment-analysis-unittest.cc Loading commit data...
module-decoder-memory64-unittest.cc Loading commit data...
module-decoder-unittest.cc Loading commit data...
simd-shuffle-unittest.cc Loading commit data...
streaming-decoder-unittest.cc Loading commit data...
subtyping-unittest.cc Loading commit data...
trap-handler-posix-unittest.cc Loading commit data...
trap-handler-win-unittest.cc Loading commit data...
trap-handler-x64-unittest.cc Loading commit data...
wasm-code-manager-unittest.cc Loading commit data...
wasm-compiler-unittest.cc Loading commit data...
wasm-gdbserver-unittest.cc Loading commit data...
wasm-macro-gen-unittest.cc Loading commit data...
wasm-module-builder-unittest.cc Loading commit data...
wasm-module-sourcemap-unittest.cc Loading commit data...