|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AInstruction | |
|---|---|
| edu.rice.cs.cunit.classFile.code | |
| edu.rice.cs.cunit.classFile.code.instructions | |
| Uses of AInstruction in edu.rice.cs.cunit.classFile.code |
|---|
| Fields in edu.rice.cs.cunit.classFile.code with type parameters of type AInstruction | |
|---|---|
(package private) java.util.LinkedList<AInstruction> |
InstructionList._instructionList
|
| Methods in edu.rice.cs.cunit.classFile.code that return AInstruction | |
|---|---|
AInstruction |
InstructionList.getInstr()
Return the instruction at the program index. |
static AInstruction |
Opcode.getShortestLoadStoreInstruction(byte baseOpcode,
short index)
Return the shortest instruction possible that loads/stores local variable index onto the stack. |
| Methods in edu.rice.cs.cunit.classFile.code with parameters of type AInstruction | |
|---|---|
boolean |
InstructionList.findInstruction(AInstruction instr)
Finds the next instruction that matches the specified instruction completely and moves the program counter there. |
boolean |
InstructionList.findInstruction(AInstruction[] instrs)
Finds the next instruction that matches one of the specified instructions completely and moves the program counter there. |
void |
InstructionList.insertBeforeInstr(AInstruction instr,
CodeAttributeInfo codeAttribute)
This method inserts the instruction before the program counter. |
void |
InstructionList.insertInstr(AInstruction instr,
CodeAttributeInfo codeAttribute)
This method inserts the instruction at the program counter. |
protected void |
InstructionList.relocateBranches(AInstruction relocInstr,
int ip)
Relocate branches in the instruction. |
| Uses of AInstruction in edu.rice.cs.cunit.classFile.code.instructions |
|---|
| Subclasses of AInstruction in edu.rice.cs.cunit.classFile.code.instructions | |
|---|---|
class |
BranchInstruction
Branch Java instruction. |
class |
GenericInstruction
Generic Java instruction. |
class |
LookupSwitchInstruction
LOOKUPSWITCH Java instruction. |
class |
ReferenceInstruction
Instruction containing a reference to the constant pool. |
class |
TableSwitchInstruction
TABLESWITCH Java instruction. |
class |
WideBranchInstruction
Wide branch Java instruction. |
class |
WideInstruction
Wide Java instruction. |
| Methods in edu.rice.cs.cunit.classFile.code.instructions that return AInstruction | |
|---|---|
static AInstruction |
AInstruction.getCorrespondingLoad(AInstruction storeInstruction)
Returns a load instruction that corresponds to the given store instruction. |
static AInstruction |
AInstruction.getCorrespondingStore(AInstruction loadInstruction)
Returns a store instruction that corresponds to the given load instruction. |
static AInstruction |
AInstruction.makeInstruction(byte[] bytecode,
int pc,
int paddingPC,
LineNumberTable lnt)
Make an instruction from the bytecode starting at pc, using the specified padding PC and the line number table. |
| Methods in edu.rice.cs.cunit.classFile.code.instructions with parameters of type AInstruction | |
|---|---|
static AInstruction |
AInstruction.getCorrespondingLoad(AInstruction storeInstruction)
Returns a load instruction that corresponds to the given store instruction. |
static AInstruction |
AInstruction.getCorrespondingStore(AInstruction loadInstruction)
Returns a store instruction that corresponds to the given load instruction. |
| Constructor parameters in edu.rice.cs.cunit.classFile.code.instructions with type arguments of type AInstruction | |
|---|---|
LineNumberTable(java.util.LinkedList<AInstruction> instrList)
Create a line number table from a list of instructions. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||