JaCIL Framework API

InstructionTranslatorFactory.CreateArithmeticTranslator Method 

Returns a new arithmetic instruction translator.

protected virtual IInstructionTranslator CreateArithmeticTranslator(
   IInstructionContext context,
   int jvmInstructionBase
);

Parameters

context
The context of the translator
jvmInstructionBase
The base JVM opcode to use for the operation. Should be an I* instruction (IADD,IMUL,etc)

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