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

@@ -697,6 +697,9 @@ OdinDocTypeIndex odin_doc_type(OdinDocWriter *w, Type *type) {
case ProcCC_None:
calling_convention = str_lit("none");
break;
case ProcCC_Naked:
calling_convention = str_lit("naked");
break;
case ProcCC_InlineAsm:
calling_convention = str_lit("inline-assembly");
break;