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 BRemInst extends AbstractOpTypeInst implements RemInst 38 { 39 public BRemInst(Type opType) 40 { 41 super(opType); 42 } 43 44 45 public int getInCount() 46 { 47 return 2; 48 } 49 50 51 52 53 54 public Object clone() 55 { 56 return new BRemInst(getOpType()); 57 } 58 59 60 public int getInMachineCount() 61 { 62 return 2 * JasminClass.sizeOfType(getOpType()); 63 } 64 65 public int getOutCount() 66 { 67 return 1; 68 } 69 70 public int getOutMachineCount() 71 { 72 return 1 * JasminClass.sizeOfType(getOpType()); 73 } 74 75 public final String getName() { return "rem"; } 76 77 public void apply(Switch sw) 78 { 79 ((InstSwitch) sw).caseRemInst(this); 80 } 81 } 82 83 | Popular Tags |