Wrap all LLVMGetElementType uses

This commit is contained in:
gingerBill
2022-08-09 21:17:32 +01:00
parent 0655260378
commit 812823cad8
5 changed files with 26 additions and 17 deletions
+3
View File
@@ -507,6 +507,9 @@ i64 lb_max_zero_init_size(void) {
return cast(i64)(4*build_context.word_size);
}
LLVMTypeRef OdinLLVMGetArrayElementType(LLVMTypeRef type);
LLVMTypeRef OdinLLVMGetVectorElementType(LLVMTypeRef type);
#define LB_STARTUP_RUNTIME_PROC_NAME "__$startup_runtime"
#define LB_STARTUP_TYPE_INFO_PROC_NAME "__$startup_type_info"
#define LB_TYPE_INFO_DATA_NAME "__$type_info_data"