JaCIL Framework API

IHandlerTable.CalculateLeaveSites Method (IInstructionStream, IInstructionStream)

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

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

See Also

IHandlerTable Interface | JaCIL.Compiler.Instruction Namespace | IHandlerTable.CalculateLeaveSites Overload List