v8/test/common/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
..
flag-utils.h Add capability of throwing values in WASM 2017-09-25 16:58:19 +00:00
test-signatures.h [wasm] Move definition of FunctionSig to a common place 2018-10-12 09:56:58 +00:00
wasm-macro-gen.h [wasm] Decode bulk memory instructions 2018-11-19 22:40:46 +00:00
wasm-module-runner.cc [wasm] Split Result/ResultBase in WasmError and Result 2019-01-15 12:48:02 +00:00
wasm-module-runner.h [wasm][fuzzer] Fix detection of traps 2018-11-20 17:05:51 +00:00