JaCIL Framework API

ILocalVariableTable.GetName Method 

Allocates an additional local slot with the given name. If the slot has been allocated with the given name, the original slot is returned.

int GetName(
   string name,
   LocalType type
);

Parameters

name
The allocated name.
type
The type of local to allocate

Return Value

The allocated local variable index.

Remarks

This is intended to be used for translators to allocate some temporary or intermediate local variable registers

See Also

ILocalVariableTable Interface | JaCIL.Compiler.Instruction Namespace