zig fmt src/

This commit is contained in:
Andrew Kelley
2021-02-24 21:54:23 -07:00
parent 9b8a94265a
commit 449f4de382
9 changed files with 45 additions and 57 deletions

View File

@@ -626,8 +626,7 @@ fn genBlock(o: *Object, inst: *Inst.Block) !CValue {
const local = try o.allocLocal(inst.base.ty, .Mut);
try writer.writeAll(";\n");
break :blk local;
} else
CValue{ .none = {} };
} else CValue{ .none = {} };
inst.codegen.mcv = @bitCast(@import("../codegen.zig").AnyMCValue, result);
try genBody(o, inst.body);

View File

@@ -45,7 +45,5 @@ pub const SPIRVModule = struct {
return self.next_id;
}
pub fn genDecl(self: SPIRVModule, id: u32, code: *std.ArrayList(u32), decl: *Decl) !void {
}
pub fn genDecl(self: SPIRVModule, id: u32, code: *std.ArrayList(u32), decl: *Decl) !void {}
};