Function typeOfWip [src]

Prototype

pub fn typeOfWip(self: Value, wip: *const WipFunction) Type

Parameters

self: Valuewip: *const WipFunction

Source

pub fn typeOfWip(self: Value, wip: *const WipFunction) Type { return switch (self.unwrap()) { .instruction => |instruction| instruction.typeOfWip(wip), .constant => |constant| constant.typeOf(wip.builder), .metadata => .metadata, }; }