Index: test/common/wasm/wasm-module-runner.cc |
diff --git a/test/common/wasm/wasm-module-runner.cc b/test/common/wasm/wasm-module-runner.cc |
index 02b4cc95263aeb562ac4c54bc7991106a4c71364..d099e01bf1fe04b90f90f7932e3b6b06b3fb6ce4 100644 |
--- a/test/common/wasm/wasm-module-runner.cc |
+++ b/test/common/wasm/wasm-module-runner.cc |
@@ -60,8 +60,8 @@ const Handle<WasmInstanceObject> InstantiateModuleForTesting( |
// TODO(wasm): Use {module} instead of decoding the module bytes again. |
MaybeHandle<WasmModuleObject> module_object = CreateModuleObjectFromBytes( |
isolate, wire_bytes.module_bytes.start(), wire_bytes.module_bytes.end(), |
- thrower, ModuleOrigin::kWasmOrigin, Handle<Script>::null(), nullptr, |
- nullptr); |
+ thrower, ModuleOrigin::kWasmOrigin, Handle<Script>::null(), |
+ Vector<const byte>::empty()); |
if (module_object.is_null()) { |
thrower->CompileError("Module pre-validation failed."); |
return Handle<WasmInstanceObject>::null(); |