Examples of IF_ICMPEQ


Examples of org.apache.bcel.generic.IF_ICMPEQ

  if (tleft instanceof BooleanType) {
      _left.translate(classGen, methodGen);
      _right.translate(classGen, methodGen);
      _falseList.add(il.append(_op == Operators.EQ ?
             (BranchInstruction)new IF_ICMPNE(null) :
             (BranchInstruction)new IF_ICMPEQ(null)));
  }
  else if (tleft instanceof NumberType) {
      _left.translate(classGen, methodGen);
      _right.translate(classGen, methodGen);

      if (tleft instanceof RealType) {
    il.append(DCMPG);
    _falseList.add(il.append(_op == Operators.EQ ?
           (BranchInstruction)new IFNE(null) :
           (BranchInstruction)new IFEQ(null)));
      }
      else {
    _falseList.add(il.append(_op == Operators.EQ ?
           (BranchInstruction)new IF_ICMPNE(null) :
           (BranchInstruction)new IF_ICMPEQ(null)));
      }
  }
  else {
      translate(classGen, methodGen);
      desynthesize(classGen, methodGen);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.