v8/test
Clemens Hammacher fa40461365 [wasm][test] Fix empty function bodies
Currently, the empty function bodies actually contain the byte 0, which
is the unreachable opcode. This CL fixes this to be empty function
bodies, and uses the macros more consistently.

This is the sixth CL in a series to improve our module decoder tests and
make them more readable.

R=titzer@chromium.org

Bug: v8:8238
Change-Id: I5f029210b4589797ee194e4082afec2c7bc31561
Reviewed-on: https://chromium-review.googlesource.com/c/1286343
Reviewed-by: Ben Titzer <titzer@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56736}
2018-10-17 13:32:02 +00:00
..
benchmarks [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
cctest [parser] Token-range-check for callable identifier tokens 2018-10-17 10:21:44 +00:00
common [wasm][test] Compute more lengths automatically 2018-10-17 10:31:40 +00:00
debugger [test] Skip slow tests on arm simulators 2018-10-17 08:52:47 +00:00
fuzzer [regexp] Fix invalid access into empty string 2018-10-16 08:17:24 +00:00
inspector [test] Skip slow tests on arm simulators 2018-10-17 08:52:47 +00:00
intl [Intl] Changes to new behavior when style is narrow 2018-10-16 21:40:32 +00:00
js-perf-test [js-perf-tests] Fix micro-benchmark of spreading double arrays. 2018-10-15 17:41:16 +00:00
memory [builtins] Add embedded stats to --serialization-statistics 2018-07-05 12:33:26 +00:00
message [parser] Token-range-check for callable identifier tokens 2018-10-17 10:21:44 +00:00
mjsunit [test] Skip test on GC fuzzer 2018-10-17 12:48:07 +00:00
mkgrokdump [cleanup] Cleanup IMMORTAL_IMMOVABLE_ROOT_LIST 2018-10-09 09:05:37 +00:00
mozilla [test] Add more test suites to Android testing 2018-09-07 09:53:15 +00:00
preparser [test] Share resource-fetching logic with all d8 test cases 2018-08-29 17:51:43 +00:00
test262 [Intl] Changes to new behavior when style is narrow 2018-10-16 21:40:32 +00:00
torque [torque] Allow atomarStatements in otherwise statements 2018-10-08 15:05:51 +00:00
unittests [wasm][test] Fix empty function bodies 2018-10-17 13:32:02 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-09-25 08:36:32 +00:00
webkit [builtins] Port Array.p.join to Torque. 2018-10-16 13:56:31 +00:00
BUILD.gn Reland "[test] Add logic to run tests on Android" 2018-08-10 17:56:12 +00:00