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 b5da55a0cba8d9807995885c66b6c598ddae2f0f..added4fd92113b1bd367f54b53e80d09c53f4707 100644 |
--- a/test/cctest/wasm/test-run-wasm-module.cc |
+++ b/test/cctest/wasm/test-run-wasm-module.cc |
@@ -215,8 +215,8 @@ TEST(Run_WasmModule_Serialization) { |
MaybeHandle<FixedArray> compiled_module = |
module->CompileFunctions(isolate, &thrower); |
CHECK(!compiled_module.is_null()); |
- Handle<JSObject> module_obj = |
- CreateCompiledModuleObject(isolate, compiled_module.ToHandleChecked()); |
+ Handle<JSObject> module_obj = CreateCompiledModuleObject( |
+ isolate, compiled_module.ToHandleChecked(), ModuleOrigin::kWasmOrigin); |
v8::Local<v8::Object> v8_module_obj = v8::Utils::ToLocal(module_obj); |
CHECK(v8_module_obj->IsWebAssemblyCompiledModule()); |