edgesAndPurposesDo

fun edgesAndPurposesDo(consumer: (L2PcOperand, L2NamedOperandType.Purpose?) -> Unit)

Evaluate the given function with each edge and its corresponding L2NamedOperandType.Purpose. An L2WriteOperand is only considered to take place if its L2NamedOperandType.Purpose is null, or if it is the same as the edge that is taken by this L2Instruction.

This is only applicable to an instruction which altersControlFlow

Parameters

consumer

The lambda to evaluate.