1 19 20 25 26 27 28 29 30 31 package soot.jimple.internal; 32 33 import soot.*; 34 import soot.jimple.*; 35 import soot.baf.*; 36 import soot.jimple.*; 37 import soot.util.*; 38 import java.util.*; 39 40 public class JXorExpr extends AbstractJimpleIntLongBinopExpr implements XorExpr 41 { 42 public JXorExpr(Value op1, Value op2) { super(op1, op2); } 43 public final String getSymbol() { return " ^ "; } 44 public void apply(Switch sw) { ((ExprSwitch) sw).caseXorExpr(this); } 45 46 Object makeBafInst(Type opType) { return Baf.v().newXorInst(this.getOp1().getType()); } 47 48 49 public Object clone() 50 { 51 return new JXorExpr(Jimple.cloneIfNecessary(getOp1()), Jimple.cloneIfNecessary(getOp2())); 52 } 53 54 } 55 | Popular Tags |