[wasm] Enable return calls in compile fuzzer

R=clemensb@chromium.org

Bug: chromium:1110190
Change-Id: I75c8e47d738266927d717a09670473dc8a7eb210
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2320656
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69095}
This commit is contained in:
Thibaud Michaud 2020-07-28 11:31:07 +02:00 committed by Commit Bot
parent d9d37e5540
commit c105b841d0

View File

@ -1695,6 +1695,7 @@ class WasmCompileFuzzer : public WasmExecutionFuzzer {
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
constexpr bool require_valid = true;
EXPERIMENTAL_FLAG_SCOPE(reftypes);
EXPERIMENTAL_FLAG_SCOPE(return_call);
WasmCompileFuzzer().FuzzWasmModule({data, size}, require_valid);
return 0;
}