public Instr discardResult() { return new NoResultCallInstr(Operation.NORESULT_CALL, getCallType(), getMethodAddr(), getReceiver(), getCallArgs(), closure); }
public Instr discardResult() { return new NoResultCallInstr(Operation.NORESULT_CALL, getCallType(), getMethodAddr(), getReceiver(), getCallArgs(), closure); }
public CallInstr(Operation op, CallInstr ordinary) { this(op, ordinary.getCallType(), ordinary.getResult(), ordinary.getMethodAddr(), ordinary.getReceiver(), ordinary.getCallArgs(), ordinary.getClosureArg(null)); }
public CallInstr(Operation op, CallInstr ordinary) { this(op, ordinary.getCallType(), ordinary.getResult(), ordinary.getMethodAddr(), ordinary.getReceiver(), ordinary.getCallArgs(), ordinary.getClosureArg(null)); }
@Override public Instr cloneForInlining(InlinerInfo ii) { return new CallInstr(getCallType(), ii.getRenamedVariable(result), (MethAddr) getMethodAddr().cloneForInlining(ii), receiver.cloneForInlining(ii), cloneCallArgs(ii), closure == null ? null : closure.cloneForInlining(ii)); }
@Override public Instr cloneForInlining(InlinerInfo ii) { return new CallInstr(getCallType(), ii.getRenamedVariable(result), (MethAddr) getMethodAddr().cloneForInlining(ii), receiver.cloneForInlining(ii), cloneCallArgs(ii), closure == null ? null : closure.cloneForInlining(ii)); }
&& numArgs == 1 && args[0] instanceof Fixnum && callInstr.getCallType() == CallType.NORMAL) visit(operand); switch (callInstr.getCallType()) { case FUNCTIONAL: case VARIABLE:
&& numArgs == 1 && args[0] instanceof Fixnum && callInstr.getCallType() == CallType.NORMAL) visit(operand); switch (callInstr.getCallType()) { case FUNCTIONAL: case VARIABLE:
@Override public Instr clone(CloneInfo ii) { return new CallInstr(ii.getScope(), getOperation(), getCallType(), ii.getRenamedVariable(result), getName(), getReceiver().cloneForInlining(ii), cloneCallArgs(ii), getClosureArg() == null ? null : getClosureArg().cloneForInlining(ii), isPotentiallyRefined(), getCallSite(), getCallSiteId()); }
@Override public Instr clone(CloneInfo ii) { return new CallInstr(ii.getScope(), getOperation(), getCallType(), ii.getRenamedVariable(result), getName(), getReceiver().cloneForInlining(ii), cloneCallArgs(ii), getClosureArg() == null ? null : getClosureArg().cloneForInlining(ii), isPotentiallyRefined(), getCallSite(), getCallSiteId()); }