Function toInst [src]
Prototype
pub fn toInst(self: Index, function: *const Function) Instruction.Index
Parameters
self: Index
function: *const Function
Source
pub fn toInst(self: Index, function: *const Function) Instruction.Index {
return function.blocks[@intFromEnum(self)].instruction;
}