Skip to content

Commit 0ec99e9

Browse files
authored
Remove unused wasm_runtime_create_exec_env_and_call_wasm (#1396)
It's unused since the following commit: commit 260d36a
1 parent a382a02 commit 0ec99e9

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

core/iwasm/common/wasm_runtime_common.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,28 +1970,6 @@ wasm_runtime_call_wasm_v(WASMExecEnv *exec_env,
19701970
return ret;
19711971
}
19721972

1973-
bool
1974-
wasm_runtime_create_exec_env_and_call_wasm(
1975-
WASMModuleInstanceCommon *module_inst, WASMFunctionInstanceCommon *function,
1976-
uint32 argc, uint32 argv[])
1977-
{
1978-
bool ret = false;
1979-
1980-
#if WASM_ENABLE_INTERP != 0
1981-
if (module_inst->module_type == Wasm_Module_Bytecode)
1982-
ret = wasm_create_exec_env_and_call_function(
1983-
(WASMModuleInstance *)module_inst, (WASMFunctionInstance *)function,
1984-
argc, argv, true);
1985-
#endif
1986-
#if WASM_ENABLE_AOT != 0
1987-
if (module_inst->module_type == Wasm_Module_AoT)
1988-
ret = aot_create_exec_env_and_call_function(
1989-
(AOTModuleInstance *)module_inst, (AOTFunctionInstance *)function,
1990-
argc, argv);
1991-
#endif
1992-
return ret;
1993-
}
1994-
19951973
bool
19961974
wasm_runtime_create_exec_env_singleton(WASMModuleInstanceCommon *module_inst)
19971975
{

0 commit comments

Comments
 (0)