aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86_64/CodeGen.zig
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2024-08-11 13:03:19 +0100
committerLinus Groh <mail@linusgroh.de>2024-08-12 00:36:51 +0100
commit4ef956ef140a1c8cf606cd9b6a9606c0a85bf934 (patch)
tree681414566bb7b57ba50e0a6182336040ef184d6b /src/arch/x86_64/CodeGen.zig
parentfd434fcd3802cd51778cfc44bde8e6ff83f808bd (diff)
downloadzig-4ef956ef140a1c8cf606cd9b6a9606c0a85bf934.tar.gz
zig-4ef956ef140a1c8cf606cd9b6a9606c0a85bf934.zip
std.Target: Rename c_type_* functions to camel case
From https://ziglang.org/documentation/master/#Names: > If `x` is otherwise callable, then `x` should be `camelCase`.
Diffstat (limited to 'src/arch/x86_64/CodeGen.zig')
-rw-r--r--src/arch/x86_64/CodeGen.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64/CodeGen.zig b/src/arch/x86_64/CodeGen.zig
index a36bd981bc..70601bdec6 100644
--- a/src/arch/x86_64/CodeGen.zig
+++ b/src/arch/x86_64/CodeGen.zig
@@ -19374,7 +19374,7 @@ fn promoteVarArg(self: *Self, ty: Type) Type {
switch (ty.floatBits(self.target.*)) {
32, 64 => return Type.f64,
else => |float_bits| {
- assert(float_bits == self.target.c_type_bit_size(.longdouble));
+ assert(float_bits == self.target.cTypeBitSize(.longdouble));
return Type.c_longdouble;
},
}