diff options
Diffstat (limited to 'deps/v8/test/fuzzer/wasm-async.cc')
-rw-r--r-- | deps/v8/test/fuzzer/wasm-async.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/test/fuzzer/wasm-async.cc b/deps/v8/test/fuzzer/wasm-async.cc index 5ceb8d8bf8b..8e140b71f2c 100644 --- a/deps/v8/test/fuzzer/wasm-async.cc +++ b/deps/v8/test/fuzzer/wasm-async.cc @@ -68,8 +68,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { testing::SetupIsolateForWasmModule(i_isolate); bool done = false; + auto enabled_features = i::wasm::WasmFeaturesFromIsolate(i_isolate); i_isolate->wasm_engine()->AsyncCompile( - i_isolate, base::make_unique<AsyncFuzzerResolver>(i_isolate, &done), + i_isolate, enabled_features, + std::make_shared<AsyncFuzzerResolver>(i_isolate, &done), ModuleWireBytes(data, data + size), false); // Wait for the promise to resolve. |