mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 23:23:07 +00:00
CBE: fix output of airMinMax()
This was trying to output a ternary operator, but the output was broken by the lack of a '?'.
This commit is contained in:
parent
9b5737b5a6
commit
79f74943b5
@ -2541,7 +2541,7 @@ fn airMinMax(f: *Function, inst: Air.Inst.Index, operator: [*:0]const u8) !CValu
|
||||
try f.writeCValue(writer, lhs);
|
||||
try writer.print("{s}", .{operator});
|
||||
try f.writeCValue(writer, rhs);
|
||||
try writer.writeAll(") ");
|
||||
try writer.writeAll(") ? ");
|
||||
try f.writeCValue(writer, lhs);
|
||||
try writer.writeAll(" : ");
|
||||
try f.writeCValue(writer, rhs);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user