Commit aa4ac2f85f

Alex Rønne Petersen <alex@alexrp.com>
2025-02-16 16:36:33
std.builtin: Rename CallingConvention.propeller1_sysv to propeller_sysv.
1 parent e0f8d4e
Changed files (3)
lib
src
codegen
lib/std/builtin.zig
@@ -366,7 +366,7 @@ pub const CallingConvention = union(enum(u8)) {
     msp430_eabi: CommonOptions,
 
     /// The standard `propeller` calling convention.
-    propeller1_sysv: CommonOptions,
+    propeller_sysv: CommonOptions,
 
     // Calling conventions for the `s390x` architecture.
     s390x_sysv: CommonOptions,
lib/std/Target.zig
@@ -1835,7 +1835,7 @@ pub const Cpu = struct {
                 .msp430_eabi,
                 => &.{.msp430},
 
-                .propeller1_sysv,
+                .propeller_sysv,
                 => &.{.propeller},
 
                 .s390x_sysv,
@@ -3337,7 +3337,7 @@ pub fn cCallingConvention(target: Target) ?std.builtin.CallingConvention {
         else
             .{ .m68k_sysv = .{} },
         .msp430 => .{ .msp430_eabi = .{} },
-        .propeller => .{ .propeller1_sysv = .{} },
+        .propeller => .{ .propeller_sysv = .{} },
         .s390x => .{ .s390x_sysv = .{} },
         .ve => .{ .ve_sysv = .{} },
         .xcore => .{ .xcore_xs1 = .{} },
src/codegen/llvm.zig
@@ -11824,7 +11824,7 @@ fn toLlvmCallConvTag(cc_tag: std.builtin.CallingConvention.Tag, target: std.Targ
         .m68k_sysv,
         .m68k_gnu,
         .msp430_eabi,
-        .propeller1_sysv,
+        .propeller_sysv,
         .s390x_sysv,
         .s390x_sysv_vx,
         .ve_sysv,