Index: test/fuzzer/wasm.cc |
diff --git a/test/fuzzer/wasm.cc b/test/fuzzer/wasm.cc |
index a0b1c2ded16473efc4f19ce158df071fd2bc3d60..933be71344ac36b40fd934dea1f6665cd7ba542a 100644 |
--- a/test/fuzzer/wasm.cc |
+++ b/test/fuzzer/wasm.cc |
@@ -12,7 +12,6 @@ |
#include "src/isolate.h" |
#include "src/objects-inl.h" |
#include "src/objects.h" |
-#include "src/wasm/wasm-js.h" |
#include "src/wasm/wasm-module.h" |
#include "test/common/wasm/wasm-module-runner.h" |
#include "test/fuzzer/fuzzer-support.h" |
@@ -32,7 +31,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { |
v8::HandleScope handle_scope(isolate); |
v8::Context::Scope context_scope(support->GetContext()); |
v8::TryCatch try_catch(isolate); |
- v8::internal::WasmJs::SetupIsolateForWasm(i_isolate); |
+ v8::internal::wasm::testing::SetupIsolateForWasmModule(i_isolate); |
v8::internal::wasm::testing::CompileAndRunWasmModule( |
i_isolate, data, data + size, v8::internal::wasm::kWasmOrigin); |
return 0; |