mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-16 19:02:23 -07:00
Remove "pure" and "pure_none" calling conventions
This commit is contained in:
@@ -903,7 +903,6 @@ Type *alloc_type_named(String name, Type *base, Entity *type_name) {
|
||||
bool is_calling_convention_none(ProcCallingConvention calling_convention) {
|
||||
switch (calling_convention) {
|
||||
case ProcCC_None:
|
||||
case ProcCC_PureNone:
|
||||
case ProcCC_InlineAsm:
|
||||
return true;
|
||||
}
|
||||
@@ -3610,15 +3609,10 @@ gbString write_type_to_string(gbString str, Type *type) {
|
||||
case ProcCC_FastCall:
|
||||
str = gb_string_appendc(str, " \"fastcall\" ");
|
||||
break;
|
||||
case ProcCC_PureNone:
|
||||
str = gb_string_appendc(str, " \"pure_none\" ");
|
||||
break;
|
||||
case ProcCC_None:
|
||||
str = gb_string_appendc(str, " \"none\" ");
|
||||
break;
|
||||
case ProcCC_Pure:
|
||||
str = gb_string_appendc(str, " \"pure\" ");
|
||||
break;
|
||||
// case ProcCC_VectorCall:
|
||||
// str = gb_string_appendc(str, " \"vectorcall\" ");
|
||||
// break;
|
||||
|
||||
Reference in New Issue
Block a user