public class SlotManager extends Object implements Serializable
Constructor and Description |
---|
SlotManager()
The constructor should not be called directly.
|
Modifier and Type | Method and Description |
---|---|
int |
allocateSlotNumber(int fingerprint)
Allocate a slot number for a variable
|
int |
getNumberOfVariables()
Get number of variables (size of stack frame)
|
List |
getVariableMap()
Get the variable map (simply a list of fingerprints of the variable names).
|
void |
setNumberOfVariables(int numberOfVariables)
Set the number of variables
|
public SlotManager()
public int getNumberOfVariables()
public void setNumberOfVariables(int numberOfVariables)
numberOfVariables
- public int allocateSlotNumber(int fingerprint)
public List getVariableMap()