class CLArrayInstruction extends CLInstruction
instructionInfo, localVariableIndex, mnemonic, opcode, operandCount, pc, stackUnits| Constructor and Description |
|---|
CLArrayInstruction(int opcode,
int pc)
Construct a CLArrayInstruction object for ARRAY3 instructions.
|
CLArrayInstruction(int opcode,
int pc,
int type)
Construct a CLArrayInstruction object for ARRAY1 instructions.
|
CLArrayInstruction(int opcode,
int pc,
int type,
int dim)
Construct a CLArrayInstruction object for ARRAY2 instructions.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Integer> |
toBytes()
Return the bytecode for this instruction.
|
byteAt, isValid, localVariableIndex, mnemonic, opcode, operandCount, pc, stackUnitspublic CLArrayInstruction(int opcode,
int pc,
int type)
opcode - the opcode for this instruction.pc - index of this instruction within the code array of a method.type - number identifying the type.public CLArrayInstruction(int opcode,
int pc,
int type,
int dim)
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.public CLArrayInstruction(int opcode,
int pc)
opcode - the opcode for this instruction.pc - index of this instruction within the code array of a method.public ArrayList<Integer> toBytes()
CLInstructiontoBytes in class CLInstruction