aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-10-15 02:27:18 +0100
committermlugg <mlugg@mlugg.co.uk>2024-10-19 19:15:23 +0100
commit2d9a167cd2235ce221a9b3aec23a0e537c151380 (patch)
tree31edcd6974b2700b2146c4247d8b77be908ee344 /src/codegen/c.zig
parentcbfe00b17df276fcf89faa1bb4380ed7f43156a0 (diff)
downloadzig-2d9a167cd2235ce221a9b3aec23a0e537c151380.tar.gz
zig-2d9a167cd2235ce221a9b3aec23a0e537c151380.zip
std.Target: rename `defaultCCallingConvention` and `Cpu.Arch.fromCallconv`
Diffstat (limited to 'src/codegen/c.zig')
-rw-r--r--src/codegen/c.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/c.zig b/src/codegen/c.zig
index c33aa9d31a..a93204e033 100644
--- a/src/codegen/c.zig
+++ b/src/codegen/c.zig
@@ -7612,7 +7612,7 @@ fn toCallingConvention(cc: std.builtin.CallingConvention, zcu: *Zcu) ?[]const u8
.x86_vectorcall, .x86_64_vectorcall => "vectorcall",
else => {
// `Zcu.callconvSupported` means this must be the C callconv.
- assert(cc.eql(zcu.getTarget().defaultCCallingConvention().?));
+ assert(cc.eql(zcu.getTarget().cCallingConvention().?));
return null;
},
};