mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 09:24:33 +00:00
Fix calling convention for new LLVM ABI, and changePtrSet index to be u32 rather than isize
This commit is contained in:
@@ -897,6 +897,15 @@ bool is_calling_convention_none(ProcCallingConvention calling_convention) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool is_calling_convention_odin(ProcCallingConvention calling_convention) {
|
||||
switch (calling_convention) {
|
||||
case ProcCC_Odin:
|
||||
case ProcCC_Contextless:
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Type *alloc_type_tuple() {
|
||||
Type *t = alloc_type(Type_Tuple);
|
||||
return t;
|
||||
|
||||
Reference in New Issue
Block a user