aboutsummaryrefslogtreecommitdiff
path: root/src/parser.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/parser.cpp
parentafe185ee227b8d4540e4dc11b382eae0671575d2 (diff)
Add "naked" calling convention (removes prologue and epilogue)
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index a7e4c9162..a6764de08 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -3220,6 +3220,7 @@ ProcCallingConvention string_to_calling_convention(String s) {
if (s == "fastcall") return ProcCC_FastCall;
if (s == "fast") return ProcCC_FastCall;
if (s == "none") return ProcCC_None;
+ if (s == "naked") return ProcCC_Naked;
return ProcCC_Invalid;
}