aboutsummaryrefslogtreecommitdiff
path: root/src/docs_writer.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-28 10:49:30 +0100
committergingerBill <bill@gingerbill.org>2021-04-28 10:49:30 +0100
commit24fce21d9055ac4cd2124c0fe5396f430e99f24f (patch)
tree86e9b95d03038af2a63d10d760afa34940be2eca /src/docs_writer.cpp
parentafe185ee227b8d4540e4dc11b382eae0671575d2 (diff)
Add "naked" calling convention (removes prologue and epilogue)
Diffstat (limited to 'src/docs_writer.cpp')
-rw-r--r--src/docs_writer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/docs_writer.cpp b/src/docs_writer.cpp
index f4fd02376..03ea25930 100644
--- a/src/docs_writer.cpp
+++ b/src/docs_writer.cpp
@@ -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;