Index: test/cctest/wasm/test-run-wasm-module.cc |
diff --git a/test/cctest/wasm/test-run-wasm-module.cc b/test/cctest/wasm/test-run-wasm-module.cc |
index 1bcbbcd1194659d660ef74de44342ff8bffa4dcd..ba27ad8428c7dbec9312bae96d38c30d333470a3 100644 |
--- a/test/cctest/wasm/test-run-wasm-module.cc |
+++ b/test/cctest/wasm/test-run-wasm-module.cc |
@@ -315,8 +315,9 @@ class WasmSerializationTest { |
serialization_isolate, const_cast<WasmModule*>(decoding_result.val)); |
MaybeHandle<WasmCompiledModule> compiled_module = |
- decoding_result.val->CompileFunctions(serialization_isolate, |
- module_wrapper, &thrower); |
+ decoding_result.val->CompileFunctions( |
+ serialization_isolate, module_wrapper, &thrower, |
+ ModuleWireBytes(buffer.begin(), buffer.end())); |
CHECK(!compiled_module.is_null()); |
Handle<JSObject> module_obj = WasmModuleObject::New( |
serialization_isolate, compiled_module.ToHandleChecked()); |