Package jminusminus
Class CLArrayInstruction
java.lang.Object
jminusminus.CLInstruction
jminusminus.CLArrayInstruction
Representation for ARRAY1, ARRAY2 and ARRAY3 instructions.
- 
Field SummaryFields inherited from class jminusminus.CLInstructioninstructionInfo, localVariableIndex, mnemonic, opcode, operandCount, pc, stackUnits
- 
Constructor SummaryConstructorsConstructorDescriptionCLArrayInstruction(int opcode, int pc) Constructs a CLArrayInstruction object for ARRAY3 instructions.CLArrayInstruction(int opcode, int pc, int type) Constructs a CLArrayInstruction object for ARRAY1 instructions.CLArrayInstruction(int opcode, int pc, int type, int dim) Constructs a CLArrayInstruction object for ARRAY2 instructions.
- 
Method SummaryMethods inherited from class jminusminus.CLInstructionbyteAt, isValid, localVariableIndex, mnemonic, opcode, operandCount, pc, stackUnits
- 
Constructor Details- 
CLArrayInstructionpublic CLArrayInstruction(int opcode, int pc, int type) Constructs a CLArrayInstruction object for ARRAY1 instructions.- Parameters:
- opcode- the opcode for this instruction.
- pc- index of this instruction within the code array of a method.
- type- number identifying the type.
 
- 
CLArrayInstructionpublic CLArrayInstruction(int opcode, int pc, int type, int dim) Constructs a CLArrayInstruction object for ARRAY2 instructions.- Parameters:
- opcode- the opcode for this instruction.
- pc- index of this instruction within the code array of a method.
- type- number identifying the type.
- dim- number of dimensions.
 
- 
CLArrayInstructionpublic CLArrayInstruction(int opcode, int pc) Constructs a CLArrayInstruction object for ARRAY3 instructions.- Parameters:
- opcode- the opcode for this instruction.
- pc- index of this instruction within the code array of a method.
 
 
- 
- 
Method Details- 
toBytesReturns the bytecode for this instruction.- Specified by:
- toBytesin class- CLInstruction
- Returns:
- the bytecode for this instruction.
 
 
-