diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2025-05-15 19:20:04 +0200 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2025-05-15 19:20:04 +0200 |
| commit | 2d00f8d69d62344e6ff419998899348244e66ed2 (patch) | |
| tree | 308057f33a6a009936ce4eb017d4dfc19f3f48d4 /src/llvm_abi.cpp | |
| parent | 30b67507787aaf8d3db5a2a1b216b01b30ccf091 (diff) | |
fix compat with earlier llvm versions
Diffstat (limited to 'src/llvm_abi.cpp')
| -rw-r--r-- | src/llvm_abi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_abi.cpp b/src/llvm_abi.cpp index baad3f873..af08722c3 100644 --- a/src/llvm_abi.cpp +++ b/src/llvm_abi.cpp @@ -1246,7 +1246,7 @@ namespace lbAbiArm64 { cast_type = LLVMIntTypeInContext(c, cast(unsigned)(size*8)); } else { LLVMTypeRef llvm_i64 = LLVMIntTypeInContext(c, 64); - cast_type = LLVMArrayType2(llvm_i64, 2); + cast_type = llvm_array_type(llvm_i64, 2); } return lb_arg_type_direct(return_type, cast_type, nullptr, nullptr); } |