mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-14 06:24:19 -04:00
Fix calling convention for new LLVM ABI, and changePtrSet index to be u32 rather than isize
This commit is contained in:
1 parent
0d6f5cec37
commit
db0bcbc4f4
5 files changed
+71
-59
No files matched your search
@@ -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