JaCIL Framework API

IInstructionStream.AddTarget Method 

Adds a target to this instruction and changes the target's back reference. Ordinal is used to determine if it is a back or forward target.

void AddTarget(
   IInstructionStream instr
);

Parameters

instr
The instruction stream to target.

Remarks

This should be used in preference of manipulating the set of targets directly.

Exceptions

Exception Type Condition
BranchException Thrown if the ordinal is equal.

See Also

IInstructionStream Interface | JaCIL.Compiler.Instruction Namespace