mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-31 05:11:19 +00:00 
			
		
		
		
	Remove unused wasm_runtime_create_exec_env_and_call_wasm (#1396)
It's unused since the following commit:
  commit 260d36a62d
			
			
This commit is contained in:
		
							parent
							
								
									a382a02ea9
								
							
						
					
					
						commit
						0ec99e9522
					
				|  | @ -1970,28 +1970,6 @@ fail1: | |||
|     return ret; | ||||
| } | ||||
| 
 | ||||
| bool | ||||
| wasm_runtime_create_exec_env_and_call_wasm( | ||||
|     WASMModuleInstanceCommon *module_inst, WASMFunctionInstanceCommon *function, | ||||
|     uint32 argc, uint32 argv[]) | ||||
| { | ||||
|     bool ret = false; | ||||
| 
 | ||||
| #if WASM_ENABLE_INTERP != 0 | ||||
|     if (module_inst->module_type == Wasm_Module_Bytecode) | ||||
|         ret = wasm_create_exec_env_and_call_function( | ||||
|             (WASMModuleInstance *)module_inst, (WASMFunctionInstance *)function, | ||||
|             argc, argv, true); | ||||
| #endif | ||||
| #if WASM_ENABLE_AOT != 0 | ||||
|     if (module_inst->module_type == Wasm_Module_AoT) | ||||
|         ret = aot_create_exec_env_and_call_function( | ||||
|             (AOTModuleInstance *)module_inst, (AOTFunctionInstance *)function, | ||||
|             argc, argv); | ||||
| #endif | ||||
|     return ret; | ||||
| } | ||||
| 
 | ||||
| bool | ||||
| wasm_runtime_create_exec_env_singleton(WASMModuleInstanceCommon *module_inst) | ||||
| { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 YAMAMOTO Takashi
						YAMAMOTO Takashi