JaCIL Framework API

InstructionStream Members

InstructionStream overview

Public Instance Constructors

InstructionStream Overloaded. Initializes a new instance of the InstructionStream class.

Public Instance Properties

BackwardSources The instructions that target this instruction from an address after this one.
BackwardTargets The backward targets of this instruction. That is, targets that have offsets greater than this instruction.
ForwardSources The instructions that target this instruction from an address before this one.
ForwardTargets The forward targets of this instruction. That is, targets that have offsets greater than this instruction.
Instruction The instruction context encapsulated by this stream.
InstructionLabel The unique label for this stream item.
Next The next instruction in the stream.
PostInstructionLabel The unique label for immediately following this stream item.
PostStack The stack state at this instruction, after it is executed.
PreStack The stack state at this instruction, before it is executed.
Previous The previous instruction in the stream.

Public Instance Methods

AddTarget 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.
Append Appends an instruction after this one. This call adjusts the next, previous and target pointers of this instruction and the given one. Targets are adjusted to refer to the given instruction. The target pointers are not changed.
GetEnumerator Returns an enumerator over the stream starting at this item.
GetInstructionStreams Retrieves a list representation that is independent of iteration of the instruction stream objects starting at this one.
Insert Inserts an instruction before this one. This call adjusts the next, previous and sources pointers of this instruction. Sources are adjusted to refer to the given instruction. The target pointers are not changed.

See Also

InstructionStream Class | JaCIL.Compiler.Instruction Namespace