Package jminusminus
Class CLObjectInstruction
java.lang.Object
jminusminus.CLInstruction
jminusminus.CLObjectInstruction
Representation for OBJECT instructions.
-
Field Summary
Fields inherited from class jminusminus.CLInstruction
instructionInfo, localVariableIndex, mnemonic, opcode, operandCount, pc, stackUnits
-
Constructor Summary
ConstructorDescriptionCLObjectInstruction
(int opcode, int pc, int index) Constructs a CLObjectInstruction object. -
Method Summary
Methods inherited from class jminusminus.CLInstruction
byteAt, isValid, localVariableIndex, mnemonic, opcode, operandCount, pc, stackUnits
-
Constructor Details
-
CLObjectInstruction
public CLObjectInstruction(int opcode, int pc, int index) Constructs a CLObjectInstruction object.- Parameters:
opcode
- the opcode for this instruction.pc
- index of this instruction within the code array of a method.index
- index into the constant pool, the item at which identifies the object.
-
-
Method Details
-
toBytes
Returns the bytecode for this instruction.- Specified by:
toBytes
in classCLInstruction
- Returns:
- the bytecode for this instruction.
-