Package jminusminus
Class CLInsInfo
java.lang.Object
jminusminus.CLInsInfo
This class stores static information about a JVM instruction.
-
Field Summary
Modifier and TypeFieldDescriptionThe category under which instruction belongs.int
Index of the local variable that this instruction refers to; applies only to instructions that operate on local variables.Mnemonic for this instruction.int
Opcode for this instruction.int
Number of operands for this instruction.int
Words produced - words consumed from the operand stack by this instruction. -
Constructor Summary
ConstructorDescriptionCLInsInfo
(int opcode, String mnemonic, int operandCount, int localVariableIndex, int stackUnits, CLConstants.Category category) Constructs a CLInsInfo object. -
Method Summary
-
Field Details
-
opcode
public int opcodeOpcode for this instruction. -
mnemonic
Mnemonic for this instruction. -
operandCount
public int operandCountNumber of operands for this instruction. -
stackUnits
public int stackUnitsWords produced - words consumed from the operand stack by this instruction. -
localVariableIndex
public int localVariableIndexIndex of the local variable that this instruction refers to; applies only to instructions that operate on local variables. -
category
The category under which instruction belongs.
-
-
Constructor Details
-
CLInsInfo
public CLInsInfo(int opcode, String mnemonic, int operandCount, int localVariableIndex, int stackUnits, CLConstants.Category category) Constructs a CLInsInfo object.- Parameters:
opcode
- opcode for this instruction.mnemonic
- name for this instruction.operandCount
- number of operands for this instruction.localVariableIndex
- index of the local variable that this instruction refers to.stackUnits
- words produced - words consumed from the operand stack by this instruction.category
- category under which this instruction belogs.
-