v8/test/unittests/wasm
Andreas Haas 72019a0428 [wasm] Streaming decoder
This CL implements a streaming decoder which takes the bytes
of a wasm module as an input, potentially split into multiple
chunks, and decodes them into segments. Each segment either
contains the payload of a whole section, or the code of a
single function. The goal is that the streaming decoder is
used for streaming compilation. That's where the interface
comes from, see
(https://cs.chromium.org/chromium/src/v8/include/v8.h?q=OnBytesReceived&sq=package:chromium&l=4060)

Error positions are not reported correctly at the moment. I
plan to do this in a separate CL.

Change-Id: I6e3df6a91945c7baec2dc4f5de2e5f47636083df
Reviewed-on: https://chromium-review.googlesource.com/471350
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45250}
2017-05-11 09:46:31 +00:00
..
control-transfer-unittest.cc [wasm] [interpreter] Ignore stack effects after unreachable 2017-05-03 11:35:09 +00:00
decoder-unittest.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
function-body-decoder-unittest.cc [WASM SIMD] Replace primitive shuffles with general Shuffle. 2017-05-04 16:50:51 +00:00
leb-helper-unittest.cc [wasm] [decoder] Templatize decode function for unchecked decoding 2017-04-05 11:14:32 +00:00
loop-assignment-analysis-unittest.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +00:00
module-decoder-unittest.cc [wasm] Fix memory management for Result types 2017-05-08 14:26:57 +00:00
OWNERS Make clemensh owner (wasm, asmjs and general) 2017-01-13 10:20:44 +00:00
streaming-decoder-unittest.cc [wasm] Streaming decoder 2017-05-11 09:46:31 +00:00
wasm-macro-gen-unittest.cc [wasm] Move wasm-macro-gen.h to test/common/wasm 2017-04-25 11:59:48 +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] Use the official opcode names everywhere. 2017-01-20 13:28:29 +00:00