mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-14 05:31:13 +00:00
Fix a compile warning in aot_emit_function.c (#3793)
This just fixes an unused variable warning when WASM_ENABLE_AOT_STACK_FRAME is != 0.
This commit is contained in:
parent
d64a3ab6ec
commit
79e695e1a3
|
@ -1407,7 +1407,9 @@ aot_compile_op_call(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
|
||||||
LLVMValueRef *param_values = NULL, value_ret = NULL, func;
|
LLVMValueRef *param_values = NULL, value_ret = NULL, func;
|
||||||
LLVMValueRef import_func_idx, res;
|
LLVMValueRef import_func_idx, res;
|
||||||
LLVMValueRef ext_ret, ext_ret_ptr, ext_ret_idx;
|
LLVMValueRef ext_ret, ext_ret_ptr, ext_ret_idx;
|
||||||
|
#if WASM_ENABLE_AOT_STACK_FRAME != 0
|
||||||
LLVMValueRef func_idx_ref;
|
LLVMValueRef func_idx_ref;
|
||||||
|
#endif
|
||||||
int32 i, j = 0, param_count, result_count, ext_ret_count;
|
int32 i, j = 0, param_count, result_count, ext_ret_count;
|
||||||
uint64 total_size;
|
uint64 total_size;
|
||||||
uint8 wasm_ret_type;
|
uint8 wasm_ret_type;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user