v8/test/unittests/wasm
Clemens Hammacher da172451c6 [wasm] Fix memory management for Result types
Make ModuleResult and FunctionResult return Result<std::unique_ptr<X>>.
This makes memory ownership and transfer of ownership more clear and
avoids a lot of manual releases of the referenced native heap object.

R=ahaas@chromium.org

Change-Id: I7a3f5bd7761b6ae1ebdc7d17ff1b96a8df599871
Reviewed-on: https://chromium-review.googlesource.com/498352
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45160}
2017-05-08 14:26:57 +00:00
..
asm-types-unittest.cc [wasm] Fix more -Wsign-compare warnings. 2016-11-11 11:56:05 +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
switch-logic-unittest.cc [asmjs] Move switch-logic.h to asmjs/ directory. 2016-10-10 17:57:47 +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