From 105089e17aa19b326f6d0fd00b00edd9e3ad5564 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Mon, 20 Nov 2023 00:26:23 +0100 Subject: bump to llvm15 --- src/llvm/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/llvm/builder.rs') diff --git a/src/llvm/builder.rs b/src/llvm/builder.rs index da10231..99f26b7 100644 --- a/src/llvm/builder.rs +++ b/src/llvm/builder.rs @@ -195,7 +195,7 @@ impl<'llvm> IRBuilder<'llvm> { let value_ref = unsafe { LLVMBuildCall2( self.builder, - fn_value.ret_type(), + fn_value.fn_type(), fn_value, args.as_mut_ptr(), args.len() as libc::c_uint, -- cgit v1.2.3