mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 14:18:47 +00:00
fix compat with earlier llvm versions
This commit is contained in:
+1
-1
@@ -1246,7 +1246,7 @@ namespace lbAbiArm64 {
|
|||||||
cast_type = LLVMIntTypeInContext(c, cast(unsigned)(size*8));
|
cast_type = LLVMIntTypeInContext(c, cast(unsigned)(size*8));
|
||||||
} else {
|
} else {
|
||||||
LLVMTypeRef llvm_i64 = LLVMIntTypeInContext(c, 64);
|
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);
|
return lb_arg_type_direct(return_type, cast_type, nullptr, nullptr);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user