mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-21 22:05:20 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
@@ -1586,6 +1586,10 @@ gb_internal LLVMTypeRef lb_type_internal_for_procedures_raw(lbModule *m, Type *t
|
||||
if (params_by_ptr[i]) {
|
||||
// NOTE(bill): The parameter needs to be passed "indirectly", override it
|
||||
ft->args[i].kind = lbArg_Indirect;
|
||||
ft->args[i].attribute = nullptr;
|
||||
ft->args[i].align_attribute = nullptr;
|
||||
ft->args[i].byval_alignment = 0;
|
||||
ft->args[i].is_byval = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user