Function toInst [src]

Prototype

pub fn toInst(self: Index, function: *const Function) Instruction.Index

Parameters

self: Indexfunction: *const Function

Source

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