Public Methods | |
Instruction_byteindex (byte c) | |
int | compile (byte bc[], int index) |
void | markCPRefs (boolean[] refs) |
int | nextOffset (int curr) |
int | parse (byte bc[], int index) |
void | redirectCPRefs (short redirect[]) |
String | toString (cp_info constant_pool[]) |
Public Attributes | |
short | arg_b |
Each subclass is derived from one of
Definition at line 138 of file Instruction_byteindex.java.
|
Writes out the sequence of bytecodes represented by this instruction, including any arguments.
Reimplemented from Instruction. Definition at line 144 of file Instruction_byteindex.java. |
|
Marks the appropriate spot if that constant_pool entry is used by this instr. For every constant pool entry used (referenced) by this instruction, the corresponding boolean in the given array is set to true.
Reimplemented from Instruction. Definition at line 145 of file Instruction_byteindex.java. |
|
Returns the next available offset assuming this instruction begins on the indicated offset; default assumes no arguments.
Reimplemented from Instruction. Definition at line 146 of file Instruction_byteindex.java. |
|
Assuming the actual bytecode for this instruction has been extracted already, and index is the offset of the next byte, this method parses whatever arguments the instruction requires and return the offset of the next available byte.
Reimplemented from Instruction. Definition at line 147 of file Instruction_byteindex.java. |
|
Updates all constant pool references within this instruction to use new indices, based on the given redirection array.
Reimplemented from Instruction. Definition at line 154 of file Instruction_byteindex.java. |
|
For displaying instructions.
Reimplemented from Instruction. Definition at line 155 of file Instruction_byteindex.java. |
|
arg_b needs to be short in order to contain all the possible values for an unsigned byte Definition at line 142 of file Instruction_byteindex.java. |