Index: test/cctest/wasm/wasm-run-utils.h |
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h |
index 6599daa897b8fd9a365035c7123c9c26068f3f3f..ccd6ba6584b40a2c5461f32e002c51b5d4116a73 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -215,7 +215,7 @@ class TestingModule : public ModuleEnv { |
uint32_t index = AddFunction(sig, Handle<Code>::null(), nullptr); |
Handle<Code> code = CompileWasmToJSWrapper( |
isolate_, jsfunc, sig, index, Handle<String>::null(), |
- Handle<String>::null(), module->get_origin()); |
+ Handle<String>::null(), module->origin()); |
instance->function_code[index] = code; |
return index; |
} |