JaCIL Framework API

InstructionTranslatorFactory.CreateConstantTranslator Method 

Returns a new constant load instruction translator.

protected virtual IInstructionTranslator CreateConstantTranslator(
   IInstructionContext context,
   bool isEmbedded
);

Parameters

context
The context of the translator
isEmbedded
Is the constant value embedded in the instruction, should only be one of the integer constants

Return Value

The translator instance.

Remarks

A derived class would override this if a different translator instance is desired.

See Also

InstructionTranslatorFactory Class | JaCIL.Compiler.Standard.Translator Namespace