mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 18:02:02 +00:00
Add "naked" calling convention (removes prologue and epilogue)
This commit is contained in:
@@ -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