rustc: Remove useless call to type_of() in trans_rec()

This commit is contained in:
Patrick Walton 2011-04-07 13:55:02 -07:00
parent 08bf4d1f19
commit 0f5f467dc0

View File

@ -4629,7 +4629,6 @@ fn trans_rec(@block_ctxt cx, vec[ast.field] fields,
auto bcx = cx;
auto t = node_ann_type(bcx.fcx.ccx, ann);
auto llty = type_of(bcx.fcx.ccx, t);
auto rec_res = alloc_ty(bcx, t);
auto rec_val = rec_res.val;
bcx = rec_res.bcx;