boolean restOfArgs = rcai.restOfArgArray;
if (argIndex < yieldArgs.length) {
closureArg = yieldArgs[argIndex].cloneForInlining(ii);
}
else if (argIndex >= yieldArgs.length) {
closureArg = new Array();
}
else {
Operand[] tmp = new Operand[yieldArgs.length - argIndex];
for (int j = argIndex; j < yieldArgs.length; j++)
tmp[j-argIndex] = yieldArgs[j].cloneForInlining(ii);
closureArg = new Array(tmp);
}
// Replace the arg receive with a simple copy
it.set(new CopyInstr(rcai.result, closureArg));
}