JaCIL Framework API

InstructionAnalyzer.GenerateInstructionStream Method 

Creates an properly linked IInstructionStream that refers to the first instruction in the method definition and has the its stack state properly analyzed.

public IInstructionStream GenerateInstructionStream(
   IMethodContext methodContext,
   ILocalVariableTable locals
);

Parameters

methodContext
The method context to generate the stream from.
locals
The local variable mappings.

Return Value

The instruction stream of the first instruction.

Implements

IInstructionAnalyzer.GenerateInstructionStream

Exceptions

Exception Type Condition
StackStateException Thrown if there is a problem with stack analysis.

See Also

InstructionAnalyzer Class | JaCIL.Compiler.Standard.Context Namespace