ir
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user