diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-01-15 17:28:28 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2026-01-15 17:28:28 +0000 |
| commit | 5f07055ac1548e6254651f40a23e74093a9bebfe (patch) | |
| tree | 62d3123463beb55f8be5c1a32f177be08888ee4f /src/parser.hpp | |
| parent | 0366cd3304b3910a397c4989e46bee4c575adeec (diff) | |
Add `#must_tail` and `"preserve/none"` calling convention
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index 30b11c730..77d38b291 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -301,6 +301,7 @@ enum ProcCallingConvention : i32 { ProcCC_Win64 = 9, ProcCC_SysV = 10, + ProcCC_PreserveNone = 11, ProcCC_MAX, @@ -320,6 +321,7 @@ gb_global char const *proc_calling_convention_strings[ProcCC_MAX] = { "inlineasm", "win64", "sysv", + "preserve/none", }; gb_internal ProcCallingConvention default_calling_convention(void) { |