Working on 2 argument spawn. The arguments seem to be copied correctly once, but then they get lost.

This commit is contained in:
Eric Holk 2011-05-23 19:29:45 -07:00
parent bb4c7a9c68
commit dad426419c
3 changed files with 22 additions and 5 deletions

View file

@ -5882,9 +5882,7 @@ fn trans_spawn(&@block_ctxt cx,
e));
}
// Make the tuple. We have to reverse the types first though.
//vec::reverse[ty::t](arg_tys);
//vec::reverse[ValueRef](arg_vals);
// Make the tuple.
auto args_ty = ty::mk_imm_tup(cx.fcx.lcx.ccx.tcx, arg_tys);
// Allocate and fill the tuple.