Add "naked" calling convention (removes prologue and epilogue)

This commit is contained in:
gingerBill
2021-04-28 10:49:30 +01:00
parent afe185ee22
commit 24fce21d90
7 changed files with 15 additions and 1 deletions

View File

@@ -3618,6 +3618,9 @@ gbString write_type_to_string(gbString str, Type *type) {
case ProcCC_None:
str = gb_string_appendc(str, " \"none\" ");
break;
case ProcCC_Naked:
str = gb_string_appendc(str, " \"naked\" ");
break;
// case ProcCC_VectorCall:
// str = gb_string_appendc(str, " \"vectorcall\" ");
// break;