pub fn isTerminatorWip(self: Instruction.Index, wip: *const WipFunction) bool
self: Instruction.Index
wip: *const WipFunction
5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599
pub fn isTerminatorWip(self: Instruction.Index, wip: *const WipFunction) bool { return switch (wip.instructions.items(.tag)[@backingInt(self)]) { .br, .br_cond, .indirectbr, .ret, .@"ret void", .@"switch", .@"unreachable", => true, else => false, }; }