示例#1
0
 /** Accepts the specified visitor. */
 public void accept(KjcVisitor p) {
   if (p instanceof SLIRVisitor) {
     ((SLIRVisitor) p).visitPushExpression(this, tapeType, arg);
   } else {
     // otherwise, visit the argument
     arg.accept(p);
   }
 }
示例#2
0
 /**
  * Clones all fields of this into
  *
  * <pre>other</pre>
  */
 protected void deepCloneInto(at.dms.kjc.sir.SIRPushExpression other) {
   super.deepCloneInto(other);
   other.arg = (at.dms.kjc.JExpression) at.dms.kjc.AutoCloner.cloneToplevel(this.arg);
   other.tapeType = (at.dms.kjc.CType) at.dms.kjc.AutoCloner.cloneToplevel(this.tapeType);
 }