org.apache.commons.nabla.forward.trimming
Class DLoadPop2Trimmer

java.lang.Object
  extended by org.apache.commons.nabla.forward.trimming.BytecodeTrimmer
      extended by org.apache.commons.nabla.forward.trimming.DLoadPop2Trimmer

public class DLoadPop2Trimmer
extends BytecodeTrimmer

Trimmer removing (DLOAD i, POP2).

Version:
$Id$

Constructor Summary
DLoadPop2Trimmer()
          Simple constructor.
 
Method Summary
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.forward.trimming.BytecodeTrimmer
trim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLoadPop2Trimmer

public DLoadPop2Trimmer()
Simple constructor.

Method Detail

trimWindow

protected boolean trimWindow(org.objectweb.asm.tree.InsnList instructions,
                             org.objectweb.asm.tree.AbstractInsnNode[] window)
Trim the current window of lookahead instructions.

Specified by:
trimWindow in class BytecodeTrimmer
Parameters:
instructions - complete instructions list of instructions to trim
window - current instructions window (belongs to the list)
Returns:
true if instructions and window have been updated and are ready for next iteration


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.