|
JML | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use InstructionHandle | |
| org.multijava.util.optimize | Provides an optimizer for classfiles used by MultiJava and the Java Modeling Language. |
| Uses of InstructionHandle in org.multijava.util.optimize |
| Fields in org.multijava.util.optimize declared as InstructionHandle | |
private InstructionHandle |
Optimizer.codeStart
|
private InstructionHandle[] |
HandleCreator.handles
|
private InstructionHandle |
InstructionHandle.prev
|
private InstructionHandle |
InstructionHandle.next
|
| Methods in org.multijava.util.optimize that return InstructionHandle | |
private InstructionHandle |
Optimizer.installInstructionHandles(CodeInfo info)
Install handles around instructions. |
InstructionHandle |
Optimizer.getCodeStart()
|
InstructionHandle |
InstructionHandle.getNext()
Returns the handle of the next instruction in textual order. |
InstructionHandle |
InstructionHandle.getPrevious()
Returns the handle of the next instruction in textual order. |
InstructionHandle |
InstructionHandle.getTarget()
Returns the target of this jump instruction |
| Methods in org.multijava.util.optimize with parameters of type InstructionHandle | |
private void |
Optimizer.buildBasicBlocks(InstructionHandle start)
|
void |
Optimizer.setCodeStart(InstructionHandle handle)
|
void |
InstructionHandle.setTarget(InstructionHandle target)
Returns the target of this jump instruction |
void |
InstructionHandle.setNext(InstructionHandle next)
Sets the handle of the next instruction in textual order. |
private void |
InstructionHandle.changeTarget(AccessorContainer container,
InstructionHandle target)
|
static boolean |
Patterns.optimize(InstructionHandle handle)
Optimizes the byte code for a single method. |
static boolean |
Patterns.optimizeJump(InstructionHandle handle,
int opcode)
Optimizes the byte code for a single method. |
static boolean |
Patterns.optimizeNoArgInstruction(InstructionHandle handle,
int opcode)
Optimizes the byte code for a single method. |
static boolean |
Patterns.optimizePushLiteralInstruction(InstructionHandle handle,
int opcode)
Optimizes the byte code for a single method. |
private static boolean |
Patterns.optimize5(InstructionHandle handle,
int opcode)
Optimize a block of 5 instructions Return true if an optimization is made This method should not modify other instructions |
private static boolean |
Patterns.optimizeLocalVarInstruction(InstructionHandle handle,
int opcode)
Optimizes the byte code for a single method. |
private static boolean |
Patterns.optimizeFieldRefInstruction(InstructionHandle handle,
int opcode)
Optimizes the byte code for a single method. |
| Constructors in org.multijava.util.optimize with parameters of type InstructionHandle | |
HandleCreator(Instruction[] insns,
InstructionHandle[] handles)
Creates a new HandleCreator object |
|
InstructionHandle(Instruction insn,
InstructionHandle prev)
Creates a new instruction handle. |
|
|
JML | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||