for (int i = 0; i < required; i++, argIndex++) {
ArgumentNode a = (ArgumentNode)preArgs.get(i);
// FIXME: Charlie added this to test something?
if (a instanceof TypedArgumentNode) {
TypedArgumentNode t = (TypedArgumentNode)a;
s.addInstr(new DECLARE_LOCAL_TYPE_Instr(argIndex, buildType(t.getTypeNode())));
}
s.addInstr(new ReceiveArgumentInstruction(s.getLocalVariable(a.getName()), argIndex));
}
// IMPORTANT: Receive the block argument before the opt and splat args