|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.nabla.algorithmic.forward.trimming.BytecodeTrimmer org.apache.commons.nabla.algorithmic.forward.trimming.SwappedDloadTrimmer
public class SwappedDloadTrimmer
Trimmer replacing (DLOAD i, DLOAD j, DUP2_X2, POP2) with (DLOAD j, DLOAD i).
Method Summary | |
---|---|
static BytecodeTrimmer |
getInstance()
Get the singleton instance. |
protected boolean |
trimWindow(org.objectweb.asm.tree.InsnList instructions,
org.objectweb.asm.tree.AbstractInsnNode[] window)
Trim the current window of lookahead instructions. |
Methods inherited from class org.apache.commons.nabla.algorithmic.forward.trimming.BytecodeTrimmer |
---|
trim |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BytecodeTrimmer getInstance()
We use here the Initialization on Demand Holder idiom.
protected boolean trimWindow(org.objectweb.asm.tree.InsnList instructions, org.objectweb.asm.tree.AbstractInsnNode[] window)
trimWindow
in class BytecodeTrimmer
instructions
- complete instructions list of instructions to trimwindow
- current instructions window (belongs to the list)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |