Function vaArg [src]

Prototype

pub fn vaArg(self: *WipFunction, list: Value, ty: Type, name: []const u8) Allocator.Error!Value

Parameters

self: *WipFunctionlist: Valuety: Typename: []const u8

Source

pub fn vaArg(self: *WipFunction, list: Value, ty: Type, name: []const u8) Allocator.Error!Value { try self.ensureUnusedExtraCapacity(1, Instruction.VaArg, 0); const instruction = try self.addInst(name, .{ .tag = .va_arg, .data = self.addExtraAssumeCapacity(Instruction.VaArg{ .list = list, .type = ty, }), }); return instruction.toValue(); }