org.hansel.stack
Class OrOrOp

java.lang.Object
  extended by org.hansel.stack.HanselValue
      extended by org.hansel.stack.OperatorEntry
          extended by org.hansel.stack.BinaryOperatorEntry
              extended by org.hansel.stack.OrOrOp
All Implemented Interfaces:
org.objectweb.asm.tree.analysis.Value

public class OrOrOp
extends BinaryOperatorEntry


Nested Class Summary
static class OrOrOp.AndCompressor
          Compresses "a && (a || b)" to "a && b".
static class OrOrOp.NotCompressor
          Compresses "!
static class OrOrOp.OrOrCompressor
          Compresses "a || (!
 
Field Summary
 
Fields inherited from class org.hansel.stack.HanselValue
DONT_CARE, NULL, ONE_1, ONE_2, ZERO_1, ZERO_2
 
Constructor Summary
OrOrOp(HanselValue op1, HanselValue op2)
           
 
Method Summary
 HanselValue compress()
           
 
Methods inherited from class org.hansel.stack.BinaryOperatorEntry
getOperator1, getOperator2, toString
 
Methods inherited from class org.hansel.stack.OperatorEntry
toString
 
Methods inherited from class org.hansel.stack.HanselValue
equals, getSize, invert, isBoolType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrOrOp

public OrOrOp(HanselValue op1,
              HanselValue op2)
Method Detail

compress

public HanselValue compress()
Overrides:
compress in class BinaryOperatorEntry