mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +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]) {
|
if (params_by_ptr[i]) {
|
||||||
// NOTE(bill): The parameter needs to be passed "indirectly", override it
|
// NOTE(bill): The parameter needs to be passed "indirectly", override it
|
||||||
ft->args[i].kind = lbArg_Indirect;
|
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