v8/test/unittests/wasm
Clemens Hammacher 57fa8f5ba3 [wasm] Split Result/ResultBase in WasmError and Result
We often use ResultBase or VoidResult to store or pass wasm errors
(errors with locations). This CL extracts a WasmError class which can
store an error (can also be empty), and Result<T> which stores an error
or a T (exactly one of them).

R=titzer@chromium.org

Bug: v8:8689
Change-Id: I3f5203559984a0ae8757e0130a9184957fa28df5
Reviewed-on: https://chromium-review.googlesource.com/c/1409365
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Ben Titzer <titzer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58827}
2019-01-15 12:48:02 +00:00
..
control-transfer-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00
decoder-unittest.cc [ubsan] Fix numerical overflows in wasm 2019-01-10 12:24:51 +00:00
function-body-decoder-unittest.cc [wasm] Split Result/ResultBase in WasmError and Result 2019-01-15 12:48:02 +00:00
leb-helper-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
loop-assignment-analysis-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
module-decoder-unittest.cc [wasm] Split Result/ResultBase in WasmError and Result 2019-01-15 12:48:02 +00:00
OWNERS Reduce wasm OWNERS to current team members 2018-10-15 14:47:49 +00:00
streaming-decoder-unittest.cc [wasm] Split Result/ResultBase in WasmError and Result 2019-01-15 12:48:02 +00:00
trap-handler-posix-unittest.cc [wasm] Implement trap handler on Windows 2018-10-30 10:25:37 +00:00
trap-handler-win-unittest.cc [wasm] Implement trap handler on Windows 2018-10-30 10:25:37 +00:00
trap-handler-x64-unittest.cc [wasm] Load thread-in-wasm flag from the isolate 2018-12-05 15:10:11 +00:00
wasm-code-manager-unittest.cc [wasm] Avoid redundant code copy for import wrappers. 2018-11-14 16:10:19 +00:00
wasm-compiler-unittest.cc [wasm] Group anyref parameter 2018-12-12 10:45:01 +00:00
wasm-macro-gen-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
wasm-module-builder-unittest.cc Fix building with GCC 7.x and 8.x 2018-09-21 01:12:25 +00:00
wasm-opcodes-unittest.cc [wasm] [test] [cleanup] Add missing undefs 2017-09-11 12:09:50 +00:00