pub fn ret(self: *WipFunction, val: Value) Allocator.Error!Instruction.Index self: *WipFunctionval: Value6441
6442
6443
6444
6445 pub fn ret(self: *WipFunction, val: Value) Allocator.Error!Instruction.Index {
assert(val.typeOfWip(self) == self.function.typeOf(self.builder).functionReturn(self.builder));
try self.ensureUnusedExtraCapacity(1, NoExtra, 0);
return try self.addInst(null, .{ .tag = .ret, .data = @backingInt(val) });
}