public Instr cloneForInlining(InlinerInfo ii) {
if (ii.canMapArgsStatically()) {
int n = ii.getArgsCount();
return new CopyInstr(ii.getRenamedVariable(result), minArgsLength <= n ? ii.getArg(argIndex) : UndefinedValue.UNDEFINED);
} else {
return new OptArgMultipleAsgnInstr(ii.getRenamedVariable(result), ii.getArgs(), argIndex, minArgsLength);
}
}