if(op instanceof OPT_MemoryOperand) { OPT_MemoryOperand mOp = op.asMemory(); op = mOp.loc; if(op != null) op.instruction = this; op = mOp.guard; if(op != null) op.instruction = this; op = mOp.base; if(op != null) op.instruction = this; op = mOp.index; if(op != null) op.instruction = this; }
  public void putOperand(int i, OPT_Operand op) {    if (op == null) {      ops[i] = null;    } else {      // TODO: Replace this silly copying code with an assertion that operands       //       are not shared between instructions and force people to be      //       more careful!      if (op.instruction != null) {        op = outOfLineCopy(op);      }      op.instruction = this;      ops[i] = op;    }  }