v8/test/unittests/wasm
Andreas Haas 44c400eeaf [wasm] Fail upon second code section in streaming compilation
At the moment we check only in the module-decoder if the sections in a
module appear at most once. The code section, however, we process
already before this check. With this CL we check that there is at most
one code section before we start processing it.

R=clemensh@chromium.org
TEST=WasmStreamingDecoderTest.TwoCodeSections

Bug: chromium:771916
Change-Id: Icc79d5a87ab39f450a35c688f74ea5e67cae4b3c
Reviewed-on: https://chromium-review.googlesource.com/702379
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48314}
2017-10-05 15:11:02 +00:00
..
control-transfer-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00
decoder-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00
function-body-decoder-unittest.cc [jumbo] add unittests jumbo support 2017-09-28 22:19:40 +00:00
leb-helper-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00
loop-assignment-analysis-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00
module-decoder-unittest.cc [jumbo] add unittests jumbo support 2017-09-28 22:19:40 +00:00
OWNERS Add eholk to Wasm-related OWNERS files 2017-08-10 18:58:00 +00:00
streaming-decoder-unittest.cc [wasm] Fail upon second code section in streaming compilation 2017-10-05 15:11:02 +00:00
wasm-heap-unittest.cc [jumbo] add unittests jumbo support 2017-09-28 22:19:40 +00:00
wasm-macro-gen-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00
wasm-module-builder-unittest.cc [iwyu, wasm] Remove unallowed includes to objects-inl.h from wasm. 2017-02-13 15:05:37 +00:00
wasm-opcodes-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00