JaCIL Framework API

InstructionStream.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.

public void AddTarget(
   IInstructionStream instr
);

Parameters

instr
The instruction stream to target.

Implements

IInstructionStream.AddTarget

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

InstructionStream Class | JaCIL.Compiler.Instruction Namespace