JaCIL Framework API

HandlerTable.CalculateLeaveSites Method (IInstructionStream, IInstructionStream)

Returns the HandlerTableItem objects for the finally/fault handlers from the given instruction that should be visited before going to the target.

public IList CalculateLeaveSites(
   IInstructionStream source,
   IInstructionStream target
);

Parameters

source
The instruction from which the handlers are to be calculated from.
target
The instruction that is the effective target. This is used to determine which handlers need to be visited. This may be null indicating that an effective return is occuring (a throw).

Return Value

A list of HandlerTableItem that must be visited when going from source to target

Implements

IHandlerTable.CalculateLeaveSites

See Also

HandlerTable Class | JaCIL.Compiler.Instruction Namespace | HandlerTable.CalculateLeaveSites Overload List