aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2026-01-15 17:52:36 +0000
committergingerBill <gingerBill@users.noreply.github.com>2026-01-15 17:52:36 +0000
commit59ae82634ed69b019a8965d1120dd8c7c5a7a605 (patch)
tree48b83381b47c4ae73dd5e87d1a3c71629cf176e9 /src/parser.hpp
parentb3f4807b2d11d9e3f18279dcb51ffc1ec031abbc (diff)
Add `preserve/most` and `preserve/all`bill/must-tail
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 77d38b291..011330438 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -302,6 +302,8 @@ enum ProcCallingConvention : i32 {
ProcCC_SysV = 10,
ProcCC_PreserveNone = 11,
+ ProcCC_PreserveMost = 12,
+ ProcCC_PreserveAll = 13,
ProcCC_MAX,
@@ -322,6 +324,8 @@ gb_global char const *proc_calling_convention_strings[ProcCC_MAX] = {
"win64",
"sysv",
"preserve/none",
+ "preserve/most",
+ "preserve/all",
};
gb_internal ProcCallingConvention default_calling_convention(void) {