mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-10 14:54:52 -04:00
Add "naked" calling convention (removes prologue and epilogue)
This commit is contained in:
1 parent
afe185ee22
commit
24fce21d90
7 files changed
+15
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user