1 19 20 25 26 27 28 29 30 package soot.baf.internal; 31 32 import soot.*; 33 import soot.baf.*; 34 import soot.util.*; 35 import java.util.*; 36 37 public class BIfCmpLeInst extends AbstractOpTypeBranchInst 38 implements IfCmpLeInst 39 { 40 public BIfCmpLeInst(Type opType, Unit target) 41 { 42 super(opType, Baf.v().newInstBox(target)); 43 } 44 45 public int getInCount() 46 { 47 return 2; 48 } 49 50 public Object clone() 51 { 52 return new BIfCmpLeInst(getOpType(), getTarget()); 53 } 54 55 public int getInMachineCount() 56 { 57 return 2*JasminClass.sizeOfType(getOpType()); 58 } 59 60 public int getOutCount() 61 { 62 return 0; 63 } 64 65 public int getOutMachineCount() 66 { 67 return 0; 68 } 69 70 71 public String getName() { return "ifcmple"; } 72 73 public void apply(Switch sw) 74 { 75 ((InstSwitch) sw).caseIfCmpLeInst(this); 76 } 77 } 78 79 | Popular Tags |