• Clemens Hammacher's avatar
    [wasm] Remove redundant validation · 008d7b2a
    Clemens Hammacher authored
    And add some tests for (seemingly) previously uncovered cases.
    The additional check for unreachable code is not needed any more, since
    polymorphic stack values get assigned a specific type on their first
    use or validation anyway. Hence the first entry in the br_table will
    assign specific types to all polymorphic stack values, and type checking
    will fail if later entries do not match.
    
    R=rossberg@chromium.org
    CC=titzer@chromium.org
    
    Change-Id: I1d0f91f927a2aa5186f874112e91ebffa1f1b3a7
    Reviewed-on: https://chromium-review.googlesource.com/675405Reviewed-by: 's avatarAndreas Rossberg <rossberg@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48109}
    008d7b2a
Name
Last commit
Last update
..
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...
loop-assignment-analysis-unittest.cc Loading commit data...
module-decoder-unittest.cc Loading commit data...
streaming-decoder-unittest.cc Loading commit data...
wasm-heap-unittest.cc Loading commit data...
wasm-macro-gen-unittest.cc Loading commit data...
wasm-module-builder-unittest.cc Loading commit data...
wasm-opcodes-unittest.cc Loading commit data...