Remove "pure" and "pure_none" calling conventions

This commit is contained in:
gingerBill
2021-02-23 13:10:23 +00:00
parent a652c24ac3
commit 28ed310f31
15 changed files with 18 additions and 111 deletions
-2
View File
@@ -22,9 +22,7 @@ Proc_Calling_Convention :: enum i32 {
C_Decl,
Std_Call,
Fast_Call,
Pure,
None,
Pure_None,
Foreign_Block_Default = -1,
}
-5
View File
@@ -1907,13 +1907,8 @@ string_to_calling_convention :: proc(s: string) -> ast.Proc_Calling_Convention {
case "fast", "fastcall":
return .Fast_Call;
case "pure":
return .Pure;
case "none":
return .None;
case "pure_none":
return .Pure_None;
}
return .Invalid;
}