}
let llptr = match bcx.fcx.lllocals.find(&local.node.id) {
- Some(&local_mem(v)) => v,
- _ => { bcx.tcx().sess.span_bug(local.span,
- ~"init_local: Someone forgot to document why it's\
- safe to assume local.node.init must be local_mem!");
+ Some(&local_mem(v)) => v,
+ _ => {
+ bcx.tcx().sess.span_bug(local.span,
+ "init_local: Someone forgot to document why it's\
+ safe to assume local.node.init must be local_mem!");
}
};
let bcx = copy_args_to_allocas(fcx, bcx, fn_args, raw_llargs, arg_tys);
let repr = adt::represent_type(ccx, tup_ty);
+ adt::trans_start_init(bcx, repr, fcx.llretptr.get(), 0);
for fields.eachi |i, field| {
let lldestptr = adt::trans_field_ptr(bcx,