This commit is contained in:
agra
2026-02-28 18:03:38 +02:00
parent 2552882ce6
commit 6a920dbd2c
24 changed files with 14084 additions and 780 deletions

View File

@@ -219,7 +219,7 @@ pub const Builder = struct {
}
/// Emit an instruction with no meaningful result (terminators, stores).
fn emitVoid(self: *Builder, op: Op, ty: TypeId) void {
pub fn emitVoid(self: *Builder, op: Op, ty: TypeId) void {
const block = self.currentBlock();
self.inst_counter += 1;
block.insts.append(self.module.alloc, .{ .op = op, .ty = ty }) catch unreachable;