Commit b86a8b4a5b

kcbanner <kcbanner@gmail.com>
2022-12-13 08:20:17
cbe: airNot emits zig_not_ calls for integers
1 parent 3d4ff4f
Changed files (1)
src
codegen
src/codegen/c.zig
@@ -3872,12 +3872,12 @@ fn airNot(f: *Function, inst: Air.Inst.Index) !CValue {
 
     const writer = f.object.writer();
     const local = try f.allocLocal(inst, inst_ty);
+
     try f.writeCValue(writer, local, .Other);
     try writer.writeAll(" = ");
     try writer.writeByte('!');
     try f.writeCValue(writer, op, .Other);
     try writer.writeAll(";\n");
-
     return local;
 }