aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/c.zig7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/codegen/c.zig b/src/codegen/c.zig
index 06c81c4e34..34f3143f09 100644
--- a/src/codegen/c.zig
+++ b/src/codegen/c.zig
@@ -732,9 +732,7 @@ pub const DeclGen = struct {
// All unsigned ints matching float types are pre-allocated.
const repr_ty = mod.intType(.unsigned, bits) catch unreachable;
- try writer.writeAll("zig_cast_");
- try dg.renderTypeForBuiltinFnName(writer, ty);
- try writer.writeAll(" zig_make_");
+ try writer.writeAll("zig_make_");
try dg.renderTypeForBuiltinFnName(writer, ty);
try writer.writeByte('(');
switch (bits) {
@@ -1049,9 +1047,6 @@ pub const DeclGen = struct {
const repr_val = try mod.intValue_big(repr_ty, repr_val_big.toConst());
- try writer.writeAll("zig_cast_");
- try dg.renderTypeForBuiltinFnName(writer, ty);
- try writer.writeByte(' ');
var empty = true;
if (std.math.isFinite(f128_val)) {
try writer.writeAll("zig_make_");