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:
Daniele Cocca 2022-03-15 10:20:24 +00:00
parent 9b5737b5a6
commit 79f74943b5

View File

@ -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);