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 BIfNeInst extends AbstractBranchInst implements IfNeInst 38 { 39 public BIfNeInst(Unit target) 40 { 41 super(Baf.v().newInstBox(target)); 42 } 43 public int getInCount() 44 { 45 return 1; 46 } 47 48 49 public Object clone() 50 { 51 return new BIfNeInst(getTarget()); 52 } 53 54 public int getInMachineCount() 55 { 56 return 1; 57 } 58 59 public int getOutCount() 60 { 61 return 0; 62 } 63 64 public int getOutMachineCount() 65 { 66 return 0; 67 } 68 69 public String getName() { return "ifne"; } 70 71 public void apply(Switch sw) 72 { 73 ((InstSwitch) sw).caseIfNeInst(this); 74 } 75 } 76 77 | Popular Tags |