mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-13 06:43:35 +00:00
Add preserve/most and preserve/all
This commit is contained in:
@@ -4022,6 +4022,8 @@ gb_internal ProcCallingConvention string_to_calling_convention(String const &s)
|
||||
if (s == "sysv") return ProcCC_SysV;
|
||||
|
||||
if (s == "preserve/none") return ProcCC_PreserveNone;
|
||||
if (s == "preserve/most") return ProcCC_PreserveMost;
|
||||
if (s == "preserve/all") return ProcCC_PreserveAll;
|
||||
|
||||
if (s == "system") {
|
||||
if (build_context.metrics.os == TargetOs_windows) {
|
||||
|
||||
Reference in New Issue
Block a user