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:
Anders Bakken 2024-09-17 18:37:57 -07:00 committed by GitHub
parent d64a3ab6ec
commit 79e695e1a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1407,7 +1407,9 @@ aot_compile_op_call(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
LLVMValueRef *param_values = NULL, value_ret = NULL, func;
LLVMValueRef import_func_idx, res;
LLVMValueRef ext_ret, ext_ret_ptr, ext_ret_idx;
#if WASM_ENABLE_AOT_STACK_FRAME != 0
LLVMValueRef func_idx_ref;
#endif
int32 i, j = 0, param_count, result_count, ext_ret_count;
uint64 total_size;
uint8 wasm_ret_type;